Anyone know what the problem is?
I recently downloaded and installed JDK 7u21, but when I went to add the JRE to eclipse, I did not find it in the JavaVirtualMachines folder, all that was there was 1.6.0 JDK
Anyone know what the problem is?
I recently downloaded and installed JDK 7u21, but when I went to add the JRE to eclipse, I did not find it in the JavaVirtualMachines folder, all that was there was 1.6.0 JDK
Maybe you didn't set CLASSPATH
,JAVA_HOME
into Environment variable?
and set jdk path into System variable Path
Note that there are two JavaVirtualMachines
folders on your system:
/System/Library/Java/JavaVirtualMachines/
is where the default Apple 1.6 JDK/JRE is installed/Library/Java/JavaVirtualMachines/
is where all other JDK's (such as those from Oracle) are installedIf you only install the JRE (as opposed to the JDK), it will most likely end up in the /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
directory.