Search This Blog

Wednesday, March 18, 2015

OsX - choose the right Java version for Intellij 14 CE


/Applications/IntelliJ IDEA 14 CE.app/Contents/bin/inspect.sh

2015-03-18 21:02:24.425 idea[962:382297] No matching VM found.
[JavaAppLauncher Error] CFBundleCopyResourceURL() failed loading MRJApp.properties file
[JavaAppLauncher Error] CFBundleCopyResourceURL() failed while getting Resource/Java directory
[LaunchRunner Error] No main class specified
[JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
Exception in thread "main" java.lang.NullPointerException
at apple.launcher.LaunchRunner.run(LaunchRunner.java:113)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51)
at apple.launcher.JavaApplicationLauncher.main(JavaApplicationLauncher.java:61)


Download the newest "Apple Java" from here.
Download the regular Oracle Java.


Remember to set the JAVA_HOME variable in .bash_profile correctly:
export JAVA_HOME= /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home

You can also edit the file: /Applications/IntelliJ IDEA 14 CE.app/Contents/Info.plist

and change 1.6 to 1.8



2 comments:

  1. These acrostic name poems are for Ellie, Ellen, Emare Rose, Emi, Emilee, Emily, Erin and Ethel. These acrostic name poems are for Faye, Felicity, Felix, Ferleen, Fern and Forrest. These acrostic name poems are for Gabrielle, Gemma, Georgia, Gianna, Gwenda and Gwendolen.

    A. And Lpez Snchez, . R. Dead Still (Acorn TV, June 29): Starring Michael Smiley, this Irish Canadian production is set in 1880s Dublin in the fledgling world of post mortem photography. Main character Brock is the expert in his profession but there a new rival on the scene, who may Ray Ban Glasses just be creating his own clients. It billed as a little bit dramatic, a little bit mysterious and a little bit darkly funny..

    The city was Coach Outlet Store ranked as the third most popular destination for foreign direct investment from the EU in 2017, much of which is then channelled to China. About half of the Yeezy Boost 350 2,200 European companies in Hong Kong also use it as their regional headquarters or offices.The EU is Hong Kong's second largest trading partner, after China, while Germany is Coach Handbags Clearance by far the largest European trading partner for the city, with bilateral trade amounting to some 13.97 billion (US$15.4 billion) in 2019.We do notice Ray Ban Outlet that many stakeholders inside and outside Hong Kong, including the [EU], are monitoring the current development closely, besides Yeezy Discount Coach Outlet having expressed their concerns"I believe we are still looking at a strong New Jordan Shoes 2020 case for Hong Kong overall," said , chair of the European Chamber of Commerce in Hong Kong. "However, we do notice that many stakeholders inside and outside Hong Kong, including the [EU], are monitoring the current development closely, besides having expressed their concerns."Investors had already started to feel the heat in Hong Kong since the local government's failed attempt last year to push through an extradition law that would have allowed suspects in Hong Kong to be sent to China for trial."The Hong Kong government has lost a lot of credibility, if not all of it.

    ReplyDelete
  2. Thanks for posting such an informative and useful post. It was great to read.
    Java training in Pune

    ReplyDelete

If you like this post, please leave a comment :)