Currently working IDEs

Erik Mattheis ironduck at mac.com
Fri Jan 21 05:20:02 PST 2011


Yes. That was the first thing I tried. Here's the eclipse.ini:

-startup
../../../plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.1.R36x_v20100810
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java
-vmargs
-Xms40m
-Xmx512m
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts

And here's a snippet from the log after launching:

eclipse.buildId=M20100909-0800
java.version=1.6.0_22
java.vendor=Apple Inc.

As you can see, Eclipse is ignoring the -vm argument and using the default VM.

-- 
Erik


On Jan 21, 2011, at 3:54 AM, Henri Gomez wrote:

>> I'm running OS X 10.6.6 on a MacBook Pro with Core 2 Duo. I installed OpenJDK with the installer from the openjdk-osx-build project <http://code.google.com/p/openjdk-osx-build/>. Next I downloaded Eclipse Classic 3.7.0 M4 for 64 bit Cocoa, expanded the archive and performed the following on the command line:
>> 
>> 
>> $ export JAVA_HOME=`/usr/libexec/java_home -version 1.7`
>> $ echo $JAVA_HOME
>> /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home
>> $ java -version
>> openjdk version "1.7.0-internal"
>> OpenJDK Runtime Environment (build 1.7.0-internal-b00)
>> OpenJDK 64-Bit Server VM (build 20.0-b03, mixed mode)
>> $ cd Downloads/eclipse
>> $ java -XstartOnFirstThread -jar plugins/org.eclipse.equinox.launcher_1.2.0.v20101119.jar -os macosx -ws cocoa -arch x86_64
>> ***WARNING: Display must be created on main thread due to Cocoa restrictions.
>> An error has occurred. See the log file
> 
> Did you try to launch Eclipse by updating eclipse.ini instead ?



More information about the macosx-port-dev mailing list