cannot run application on mac os x [message #517852] |
Tue, 02 March 2010 10:52 |
Luca Ferrari Messages: 159 Registered: November 2009 |
Senior Member |
|
|
Hi all,
I've finished an rcp application, and now I was exporting it to different platforms. While the application runs smoothly on windows and linux (bith 32 and 64 versions) I've got problems on mac os x. First of all, when exporting, the results includes two folders with the same launcher name (for me it is hrpm) one in lower case and one with the first letter capital case:
$ ls hrpm/macosx.cocoa.x86/eclipse/
artifacts.xml configuration Eclipse.app hrpm.app Hrpm.app p2 plugins
As you can see the hrpm.app and Hrpm.app are present, and this prevents me to install (copy) on a mac os x since the operating system gives me the error of duplicated file. So I removed the capitalized folder and leaved only the lower case one, and then I run the application but I got an error about the application not present in the registry:
!SESSION 2010-03-02 11:38:34.937 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_19
java.vendor=Apple Computer, Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=it_IT
Framework arguments: -psn_0_4980737
Command-line arguments: -os macosx -ws carbon -arch x86 -psn_0_4980737
!ENTRY org.eclipse.osgi 4 0 2010-03-02 11:38:36.589
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "HRPM_RCP_git.application" could not be found in the registry. The applications available are: org.eclipse.equinox.app.error.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
!ENTRY org.eclipse.osgi 2 0 2010-03-02 11:38:36.605
!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 2010-03-02 11:38:36.605
!MESSAGE Bundle HRPM_RCP_git_1.0.0.201003021131 [3] was not resolved.
!SUBENTRY 2 HRPM_RCP_git 2 0 2010-03-02 11:38:36.606
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Is it only a problem of the java version? How can I relax this constraint before exporting my product?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04633 seconds