Search This Blog

Sunday, March 29, 2015

OsX - default partition table

What is the default partition type on OsX 10.10 Yosemite?

Partition table: GUID partition table (gpt)
partition type: hfs+


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



Friday, March 6, 2015