![]() ![]() Java(TM) SE Runtime Environment (build 1.7.0_60-b19) Now, let's check the version again to see if we've made any progress: MacBook-1:~ jmoore$ java -version MacBook-1:~ jmoore$ java -versionĪfter some research, the solution seems to be the following: MacBook-1:~ jmoore$ export JAVA_HOME="/Library/Internet Plug-Ins/ugin/Contents/Home" This result shows that the 'system' doesn't recognize the upgrade, and won't be using it. To see if the new version was 'registered' in OSX, use the following command. Here's what I did:įirst, I installed the latest version of Java, as downloaded from Oracle's Java website. All I can say is that they semmed to work for me.įirst, know that installing the latest version of Java (the JRE) gets the latest software on your system, but your system doesn't necessarily use it! To do that, you'll need to make use of the command line. Here's my take on the way to proceed:ĭISCLAIMER: I am not expert on OSX, nor with Java, so follow these instructions with care. There are some links that seem to allow one to manage their situation. Yeah - this is a huge f**g hairball, thanks mostly to Apple for their blockheaded resistance to supporting their users. I also cannot find the "java preferences" control panel / applet anywhere. I don't need to use java in browsers, nor care if it works in browsers or not. I am trying to run java at the command line. ![]() I tried running the java package multiple times, rebooting, etc.Įven after installing with apparent success, /System/Library/Frameworks/amework/Versions/ does NOT list java 1.7 being installed, and as such I can't use. TimsMacBookAir:~ tim$ /usr/libexec/java_home -v 1 -exec javac -version Unable to find any JVMs matching version "1.7". I tried using java_home to report the installed versions: TimsMacBookAir:~ tim$ /usr/libexec/java_home -v 1.7 -exec javac -version Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode) I tried to install Java 7 Update 51.pkg, downloaded from here ( ), following the instructions here ( ).Īfter the installation, in terminal, issuing java -version reports: TimsMacBookAir:compiler-latest tim$ java -version
0 Comments
Leave a Reply. |