As we continue to look at some tips for the new OS X beta this week, remember that OS X Mavericks isn’t a final version—it’s meant to be used by developers to ensure that their software will work with Apple’s latest and greatest.
With that disclaimer in mind, let’s continue.
If you need to use Java for any reason on your Mac, and you install OS X Mavericks beta on it, you’ll be sad when you try and run that Java-reliant bit of software.
For me, it was setting up the Minecraft server for my kid after I installed the beta last night to take a look at things. When I went to run it in Terminal, I got an error, saying there was no Java installed. So, even though I’d had Java installed in Mac OS X Mountain Lion, the Mavericks install seems to have taken Java off my Mac. No worries; it was kind of an easy fix.
Open up your Terminal app, and type
java -version into the window. You’ll see the arrow, and then get a dialogue box that will send you to the Java download web page if you click the More Info… button. Do that, and you’ll get a download page. Scroll down and find the Mac OS X version of Java, and download the dmg file.
Once it’s downloaded, double click on the package file after opening the disk image (.dmg), and enter your admin password to install Java. Once the install is complete, check to see if Java is now enabled on your Mac with the same command as above:
java -version. If you’ve installed it correctly, you’ll see the version you downloaded.
Now you can run your Java stuff without a hitch. My son is pretty happy he can run around our Minecraft server now with his little buddies, building and crafting to his heart’s content.