There still is no rt.jar or src.jar in the java home directory. I show the last modified files on my computer, these are only some java tools, located in usr/share/java/Tools ![]() The installation finished successfully, but it doesn't change anything. I go to Apple's website and download this package: Java for Mac OS X 10.6 Update 5 Developer Package, file: javadeveloper_for_mac_os_x_10.6_10m3425.dmg. So it all looks fine, but there is no rt.jar or src.jar Here is a screenshot: Lrwxr-xr-x 1 root wheel 75 8 Sep 22:45 javac -> /System/Library/Frameworks/amework/Versions/Current/Commands/javac So Eclipse already has the proper JDK linked. Lrwxr-xr-x 1 root wheel 59 8 Sep 22:45 CurrentJDK -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents Lrwxr-xr-x 1 root wheel 1 8 Sep 22:45 Current -> A Lrwxr-xr-x 1 root wheel 10 8 Sep 22:45 1.6 -> CurrentJDK Lrwxr-xr-x 1 root wheel 10 8 Sep 22:45 1.5.0 -> CurrentJDK Lrwxr-xr-x 1 root wheel 10 8 Sep 22:45 1.5 -> CurrentJDK Lrwxr-xr-x 1 root wheel 10 8 Sep 22:45 1.4.2 -> CurrentJDK Lrwxr-xr-x 1 root wheel 10 8 Sep 22:45 1.4 -> CurrentJDK Java for Mac OS X 10.6 Update 2 delivers improved reliability, security, and compatibility for Java SE 6. ![]() ĭrwxr-xr-x 12 root wheel 408 8 Sep 22:46. Apple updated its Mac Java engine today, only for Intel machines running 10.6.3. And also remove any other old java installation. In Terminal I went to the directory /System/Library/Frameworks/amework/Versions and executed ls -al: drwxr-xr-x 13 root wheel 442 8 Sep 22:46. 77 1 9 'Best way' Probably homebrew OneCricketeer at 20:25 Possible duplicate of Mac OS X and multiple Java versions OneCricketeer at 20:28 What I do usually is download the jdk and then set the path properly in the environment path. I want to look in the sources when debugging in Eclipse, etc, but Eclipse can't find the sources, so I looked up the installed JREs and found this path with the title JVM 1.6.0 (MacOS X Default) /System/Library/Frameworks/amework/Versions/1.6.0/Home
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |