How to find which JDK is using by Eclipse? In in the Eclipse IDE inside Installed JRE i can see value as JRE 6, but not able to find JDK. In my system Oracle is installed too. It has javac.exe..My question how to make sure which JDK it using?
If you click window in the top menu, then preferences , then java / installed jre's.It tells you in that panel the current JDK version you are running.
posted 9 years ago
Mike, this is my question only. I did not see any JDK there. Only installed thing related to Java is JVM and also Oracle is installed.Oracle is having it's own JDK, but I am not sure which JDK is used by Eclipse ?
Hi. I'm also having problems getting eclipse to work. I installed it and tried to open it, but this message appeared:
A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations.
javaw.exe in your current PATH
So, I went online and installed a JDK, the right one for my computer, and I have tried using your instructions to set my path, but that same message keeps appearing. What can I do to make this work? I need Eclipse for my Compsci class assignment.
b) On the downloads page, click the "jdk-6u27-windows-i586.exe" link (unless you downloaded the 64-bit version of Eclipse, in which case you should choose " jdk-6u27-windows-x64.exe")
c) Once the exe file is on your PC, run it and follow the installation instructions. (By the way, by default it will want to install in C:\Program Files; I usually change that to install at c:\apps\java. Having spaces in paths sometimes causes problems for Java apps.)
After that is done, try running the "java -version" command again. You should get some output identifying the version. Then try running eclipse again.
If you still get the "java is not recognized as an internal or external command" error after doing the above steps, at a command prompt enter "set path" and post the results (most likely your PATH is messed up)
I still get the 'java is not recognized as an internal or external command' error. When I enter 'set path' I get:
There is your problem - your PATH has been wiped out. Based on the setting, I suspect that you changed your PATH. To fix this, go to Computer | Properties | Advanced System Settings and click on the Environment Variables button.
There are two scrolling boxes, one labeled "User variables for ..." and the other labelled "System Variables". Under the "User variables for ..." box, click the New button and enter: