Thursday, May 1, 2014

Java development and OSX


During my app development on OSX, the somewhat strange Java situation surfaced with some of the products.

Titanium SDK needs Java 6 to start, Java 1.7 won't do or the IDE will throw an error message. This means the Apple 1.6 version is needed, if you have Oracle JDK installed, you will need to download Java 6 from Apple's site:


Java for OS X 2013-005
http://support.apple.com/kb/DL1572?viewlocale=en_US


IntelliJ runs on  Java 1.6, however LibGDX requires Java 7. Importing Gradle project will fail with a RoboVM error. Fortunately there is a way to force IntelliJ to use Java 7 runtime.

http://www.gamefromscratch.com/post/2014/04/03/Troubleshooting-IntelliJLibGDXRoboVMGradle-issues-on-Mac-OS.aspx

No comments: