Latest jvm for mac5/9/2023 ![]() Download and install the latest JDK from Sun, from the download page (either the self-extracting rpm, or just the self-extracting file, after accpeting the license agreement).Remove the link CurrentJDK which points to 1.4.2 and replace it with a link pointing to 1.5.0 with these two commands (you will need an administrator password): sudo rm CurrentJDK and then sudo ln -s 1.5.0 CurrentJDK.Change your working directory to the Java Versions directory: type cd /System/Library/Frameworks/amework/Versions at the prompt and hit return.If the output is something like java version "1.5.0_VV", you're all set. To check if you need to change anything, type java -verison and hit return.Open Terminal, which is in Applications, in Utilities (cmd-shift-U), which brings you the Unix command line.The Java 1.5 java and javac command-line tools may not be immediately accessible they are in /System/Library/Frameworks/amework/Versions/1.5.0/Commands (/usr/bin/java is a link).Optional: If you want to compile from the command line (which is not needed for the intro courses):.Add this action to step 3: Select J2SE 5.0 from the drop-down menu under "Java Applet Runtime Settings".Follow the directions above to ensure that your Mac has Java 1.5.Optional: If you use Safari and Java 1.5 applets are not displaying:.In the "Java Application Runtime Settings Pane" drag J2SE 5.0 to the top of the list. Open the Java Preferences application in J2SE 5.0. ![]() If the J2SE 5.0 directory is missing, Download the latest Java 1.5.0 from Apple and install it.Look for the Java Preferences app on your Mac in Applications > Utilities > Java > J2SE 5.0 (cmd-shift-U opens Utilities).Depending on the age of your MAC, you may have Java 5 or 6 ("JDK 6.0_x"), either of which is fine.If it says something like "javac 1.5.x" or "JDK 5.0.x" or (where x is any number) you're done! ![]() Look under the compiler tab at the bottom right and check the version. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |