Return to site

Configure mac java path for eclipse

broken image
broken image

Now, In order to install JRE, you can either download JDK or a JRE from Oracle's Java download site.įor Java programmers, I suggest installing JDK because it comes with bundled JRE. Eclipse is a popular Java IDE, which assists on coding, debugging and running Java program, but the key point is, Eclipse itself need Java to launch and run.īy default, Eclipse scans your PATH and looks for any JRE if it founds suitable JRE then it runs otherwise it throws 'A java Runtime Environment (JRE) or Java Development kit (JDK) must be available in order to run Eclipse. Before getting into details and trying to find root cause and solution of Eclipse Java Virtual Machine not found error, let's see some background about Eclipse. One of my readers was installing Eclipse in his Windows 7 x86 machine and emailed me about this error ' A java Runtime Environment (JRE) or Java Development kit (JDK) must be available in order to run Eclipse.