Possible to use mac os x JDK 1.6 port ( SoyLatte ) to launch eclipse?
Carfield Yim
carfield at carfield.com.hk
Mon Dec 3 10:51:16 PST 2007
Look like it is not possible to tell eclipse use SoyLatte using -vm
parameter , so I try to start eclipse in command line using following
command:
./soylatte16-i386-r2/bin/java
-Djava.library.path=plugins/org.eclipse.swt.carbon.macosx_3.3.0.v3346/:plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.0.v20070606
-cp eclipse/plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar
org.eclipse.equinox.launcher.Main -os macosx -ws carbon -arch x86 -clean
-debug --launcher.library
plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.0.v20070606/eclipse_1017a.so
-startup plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar -vm
./soylatte16-i386-r2/bin/java -keyring ./.eclipse_keyring -consoleLog
-showlocation
However, may be I still miss some library at -Djava.library.path, I still
get following exception, will anyone have idea of fixing this?:
!SESSION 2007-12-04 02:39:47.124
-----------------------------------------------
eclipse.buildId=I20070625-1500
java.version=1.6.0_03-p3
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=zh_HK
Framework arguments: -keyring ./.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws carbon -arch x86 -clean -debug
-keyring ./.eclipse_keyring -consoleLog -showlocation
!ENTRY org.eclipse.osgi 4 0 2007-12-04 02:39:48.176
!MESSAGE Bundle net.sourceforge.eos at 1:start not found.
Time to load bundles: 219
!ENTRY org.eclipse.osgi 2 0 2007-12-04 02:39:52.501
!MESSAGE One or more bundles are not resolved because the following root
constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-04 02:39:52.502
!MESSAGE Bundle update at plugins/org.polarion.team.svn.mylyn_1.0.8.jar was
not resolved.
!SUBENTRY 2 org.polarion.team.svn.mylyn 2 0 2007-12-04 02:39:52.502
!MESSAGE Missing required bundle
org.eclipse.mylyn.team.ui_2.0.0.v20070623-1130.
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-04 02:39:52.503
!MESSAGE Bundle
update at plugins/org.mozilla.xulrunner.carbon.macosx_1.8.1.3-20070404/ was
not resolved.
!SUBENTRY 2 org.mozilla.xulrunner.carbon.macosx 2 0 2007-12-04 02:39:52.503
!MESSAGE Missing required bundle org.eclipse.atf.mozilla.ide.core_0.0.0.
!ENTRY org.eclipse.osgi 2 0 2007-12-04 02:39:52.505
!MESSAGE The following is a complete list of bundles which are not
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-04 02:39:52.506
!MESSAGE Bundle
update at plugins/org.mozilla.xulrunner.carbon.macosx_1.8.1.3-20070404/ [230]
was not resolved.
!SUBENTRY 2 org.mozilla.xulrunner.carbon.macosx 2 0 2007-12-04 02:39:52.506
!MESSAGE Missing required bundle org.eclipse.atf.mozilla.ide.core_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-04 02:39:52.507
!MESSAGE Bundle update at plugins/org.polarion.team.svn.mylyn_1.0.8.jar [238]
was not resolved.
!SUBENTRY 2 org.polarion.team.svn.mylyn 2 0 2007-12-04 02:39:52.507
!MESSAGE Missing required bundle
org.eclipse.mylyn.team.ui_2.0.0.v20070623-1130.
Starting application: 5407
!ENTRY org.eclipse.osgi 4 0 2007-12-04 02:39:52.682
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-carbon-3346 or swt-carbon in
swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:219)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:151)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:943)
at org.eclipse.swt.widgets.Display.create(Display.java:937)
at org.eclipse.swt.graphics.Device.<init>(Device.java:119)
at org.eclipse.swt.widgets.Display.<init>(Display.java:749)
at org.eclipse.swt.widgets.Display.<init>(Display.java:740)
at
org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:498)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at
org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:133)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:86)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
!ENTRY org.eclipse.osgi 2 0 2007-12-04 02:39:52.698
!MESSAGE One or more bundles are not resolved because the following root
constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-04 02:39:52.699
!MESSAGE Bundle update at plugins/org.polarion.team.svn.mylyn_1.0.8.jar was
not resolved.
!SUBENTRY 2 org.polarion.team.svn.mylyn 2 0 2007-12-04 02:39:52.699
!MESSAGE Missing required bundle
org.eclipse.mylyn.team.ui_2.0.0.v20070623-1130.
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-04 02:39:52.701
!MESSAGE Bundle
update at plugins/org.mozilla.xulrunner.carbon.macosx_1.8.1.3-20070404/ was
not resolved.
!SUBENTRY 2 org.mozilla.xulrunner.carbon.macosx 2 0 2007-12-04 02:39:52.701
!MESSAGE Missing required bundle org.eclipse.atf.mozilla.ide.core_0.0.0.
!ENTRY org.eclipse.osgi 2 0 2007-12-04 02:39:52.704
!MESSAGE The following is a complete list of bundles which are not
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-04 02:39:52.704
!MESSAGE Bundle
update at plugins/org.mozilla.xulrunner.carbon.macosx_1.8.1.3-20070404/ [230]
was not resolved.
!SUBENTRY 2 org.mozilla.xulrunner.carbon.macosx 2 0 2007-12-04 02:39:52.705
!MESSAGE Missing required bundle org.eclipse.atf.mozilla.ide.core_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-04 02:39:52.706
!MESSAGE Bundle update at plugins/org.polarion.team.svn.mylyn_1.0.8.jar [238]
was not resolved.
!SUBENTRY 2 org.polarion.team.svn.mylyn 2 0 2007-12-04 02:39:52.706
!MESSAGE Missing required bundle
org.eclipse.mylyn.team.ui_2.0.0.v20070623-1130.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the porters-dev
mailing list