eclipse is not opening as jvm greater version requried in linux machine
<p>I'm new to linux machines. I have installed java 1.8 on linux machine and by default I got java 1.6 installed on this. I have set path in ~/.bashrc 
PATH= /JAVA_HOME/bin:$PATH</p>

<p>When I try to open eclipse throws an error "version 1.6.0_17 of jvm is not suitable for this product. 1.7 or greater version is requried". 
I have eclipse MARS and java 1.8 is requried according to my business requirement.
Please help me out.
Thanks in advance for your answers.</p>