Create a JavaVirtualMachines folder under /Library/Java if it doesn’t exist. sudo mkdir /Library/Java/JavaVirtualMachines You only have to install the binary files provided by Oracle. In my case, the JavaVirtualMachines is already there so I don’t need to create it manually.ģ. Open the jdk-7-ea-macosx-b223.dmg file by double-clicking on it. Then drag the JDK 1.7.0 Developer Preview icon in the left side to the JavaVirtualMachines icon folder in the right side.Ĥ. Go to /Library/Java/JavaVirtualMachines directory using Finder application. Then double-click the ‘JDK 1.7.0 Developer Preview’ icon. This will open the Java Preferences window. Here you can change the preferred order of the installed Java platforms by dragging it up or down. Make sure the Java SE 7 is in the preferred order or you can simply deselect the Java SE 6 version.ĥ. Now issue the ‘java -version’ command in the terminal window to verify.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |