h1

Java on Mac

2009-03-29

http://blog.kischuk.com/2008/05/08/running-eclipse-on-macbooks-with-java-6/

http://troyworks.com/blog/2008/06/08/eclipse-jvm-terminated-exit-code-1/

http://forums.macosxhints.com/showthread.php?t=91060

I had to unlink the /System/Libraries/Frameworks/JavaVM.Framework/Versions/Current* from 1.6.0 and relink to A after installing a Java update.

Eclipse didn’t work because apparently the new JDK or something doesn’t do 32-bit mode… I don’t know what the problem was exactly, but it manifested itself as not running/compiling Java apps from the command-line, and Eclipse not starting with a verbose message indicating its command-line invocation, and an exit code = -1.

Problem solved.

Advertisements

One comment

  1. Hi. I recently ran into a similar problem. I have a Mac OS X 10.5.8 machine and updated the Java link to point to 1.6 (per the instructions for making BlackBerry PlayBook apps with Adobe AIR). The Java upgrade to a 64bit version broke Flash Builder (Eclipse) because it requires Java 32bit. I tried to revert by just linking Java to the prior version but that didn’t work, but I had success downloading a manual installer for Java/Mac and reinstalling it. Here’s the details anyone wants to do the same:

    http://www.roguish.com/blog/?p=266



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: