The app has not ben signed with an Apple Developer ID. Somehow this might look like a strange mix of problems between Java 8 and OS's which is very confuding.ĭoes anyone has an idea? I hope the category matches. He also has JRE and JDK 1.8.0_45 installed on those OS's, but they shouldn't be used as far as I know since the JRE is bundled too within the app. But here he uses other OS's: Mac OS X Yosemite and Windows 8.1. :Failed to launch JVMĪccording to a colleague the bundled app with Netbeans 7.4 and JRE 1.7.0_45 doesn't start with error "JavaFX launcher error: Unable to invoke main method". 22:10:03.459 QTools Failed to find library: The only output that can be captures starting that app on console is: The same app can be bundled on windows 7 with netbeans 8.0.2 and JRE 1.8.0_45 and works. With Netbeans 7.4 and JRE 1.7.0_45 the same bundled app works on mac os x mavericks. Java HotSpot(TM) 64-Bit Server VM (build 24.A Java Swing Application which has been native bundled with FX packager within Netbeans 8.0.2 and JRE 1.8.0_45 doesn't start on mac os x mavericks. 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 This page has these topics: System Requirements. 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 page describes how to install and uninstall JDK 8 for OS X computers. You simply launch the Mac App Store application, click the OS X Mavericks banner on the store’s main page (or search for Mavericks, or click this direct link ), click the Free Upgrade. 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. |