Java Webstart problems [message #513722] |
Wed, 10 February 2010 18:30  |
Eclipse User |
|
|
|
I have an RCP application that we want to do start with a JNLP file. I went through several tutorials, none of which fully worked unfortunately, and finally have a wrapper feature that builds a JNLP file and supposedly exports for different platforms. It works great on my Windows machine, however it does not work at all on any other systems. I went through the jar files that were created for the different platforms, and it looks to me like they are all the same, whether they are meant for Mac or windows, they all have the same equinox launcher file, org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v200905 19 which would seem to be only useful in windows. There are also several other jars with win32 in them that seem like they are not for Mac.
In an effort to fix this issue, I found some older equinox launcher files that a co-worker had used before and put them in the JNLP. So now if the client computer is a Mac it will get the following jars:
org.eclipse.equinox.launcher.cocoa.macosx.x86_64,jar
org.eclipse.core.filesystem.macosx_1.1.0.v20090112
org.eclipse.equinox.security.macosx_1.100.0.v20090520-1800
org.eclipse.swt.cocoa.macosx.x86_64_3.5.1.v3555a
org.eclipse.ui.cocoa_1.0.0.I20090525-2000
where the last 4 are jar files that I pulled from building my product for the Mac Cocoa x86_64 platform. This still does not work at all. Is this a problem with the feature export? Am I missing some Mac-Specific jar files? Any ideas at all? Thanks,
Dwain
|
|
|
|
Re: Java Webstart problems [message #513999 is a reply to message #513937] |
Thu, 11 February 2010 19:20  |
Eclipse User |
|
|
|
I didn't get any responses to this yet, but I think I have it working now. This is the JNLP file that I ended up with in case anyone else is having a similar problem. It looks like an issue with the 64 bit VM on Mac's. So had to include all of the 32 bit jars and set the vm to run at 32 bits with the -d32 VM argument.
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://it.myExample.net:80/xxxx">
<information>
<title>My Example</title>
<vendor>Vendor</vendor>
<homepage href="http://www.myExample.com" />
<description>
My Example RCP Application
</description>
<icon kind="splash" href="splash.gif"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<update check="always" policy="always" />
<component-desc/>
<application-desc main-class="org.eclipse.equinox.launcher.WebStartMain">
<argument>
-showsplash
</argument>
</application-desc>
<resources os="Mac" arch="x86_64">
<j2se version="1.6+" java-vm-args="-XstartOnFirstThread -d32"/>
<jar href="macosx.x86_64/org.eclipse.ui.cocoa_1.0.0.I20090525-2000.jar" download="eager"/>
<jar href="macosx.x86_64/org.eclipse.ui.carbon_4.0.0.I20090525-2000.jar" download="eager"/>
<jar href="macosx.x86_64/org.eclipse.swt.cocoa.macosx_3.5.1.v3555a.jar" download="eager"/>
<jar href="macosx.x86_64/org.eclipse.swt.cocoa.macosx.x86_64_3.5.1.v3555a.jar" download="eager"/>
<jar href="macosx.x86_64/org.eclipse.swt.carbon.macosx_3.5.1.v3555a.jar" download="eager"/>
<jar href="macosx.x86_64/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.0.1.R35x_v20090707.jar" download="eager"/>
</resources>
<resources os="Windows" arch="x86">
<j2se version="1.6+"/>
<jar href="win32.win32.x86/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519.jar" download="eager"/>
<jar href="win32.win32.x86/org.eclipse.swt.win32.win32.x86_3.5.1.v3555a.jar" download="eager"/>
</resources>
<resources os="Windows" arch="x86_64">
<j2se version="1.6+"/>
<jar href="win32.win32.x86_64/org.eclipse.equinox.launcher.win32.win32.x86_64_1.0.200.v20090519.jar" download="eager"/>
<jar href="win32.win32.x86_64/org.eclipse.swt.win32.win32.x86_64_3.5.1.v3555a.jar" download="eager"/>
</resources>
<resources>
<property name="eclipse.product" value="com.myExample.xxxx.product"/>
<property name="osgi.instance.area" value="@user.home/Application Data/xxxx"/>
<property name="osgi.configuration.area" value="@user.home/Application Data/xxxx"/>
<jar href="eclipse/org.eclipse.ui.views_3.4.1.M20090826-0800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.help_3.4.1.v20090805_35x.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ui.browser_3.2.300.v20090526.jar" download="eager"/>
<jar href="eclipse/org.eclipse.core.databinding_1.2.0.M20090819-0800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.core.databinding.property_1.2.0.M20090819-0800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ecf.identity_3.0.0.v20090831-1906.jar" download="eager"/>
<jar href="eclipse/org.eclipse.equinox.p2.engine_1.0.101.R35x_v20090825.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ecf.provider.filetransfer_3.0.1.v20090831-1906.jar" download="eager"/>
<jar href="eclipse/org.eclipse.core.variables_3.2.200.v20090521.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ecf.ssl_1.0.0.v20090831-1906.jar" download="eager"/>
<jar href="eclipse/org.eclipse.emf.ecore.change_2.5.0.v200906151043.jar" download="eager"/>
<jar href="eclipse/org.eclipse.equinox.app_1.2.0.v20090520-1800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.common.emfworkbench.integration_1.1.301.v200908101600.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ui.navigator.resources_3.4.1.M20090826-0800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ui.console_3.4.0.v20090513.jar" download="eager"/>
<jar href="eclipse/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar" download="eager"/>
<jar href="eclipse/org.eclipse.equinox.concurrent_1.0.0.v20090520-1800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.emf.ecore_2.5.0.v200906151043.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.validation_1.2.102.v200905201610.jar" download="eager"/>
<jar href="eclipse/org.eclipse.compare.core_3.5.0.I20090430-0408.jar" download="eager"/>
<jar href="eclipse/com.ibm.icu_4.0.1.v20090822.jar" download="eager"/>
<jar href="eclipse/javax.xml_1.3.4.v200902170245.jar" download="eager"/>
<jar href="eclipse/org.apache.xml.resolver_1.2.0.v200902170519.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ui_3.5.1.M20090902-1000.jar" download="eager"/>
<jar href="eclipse/org.eclipse.equinox.p2.core_1.0.101.R35x_v20090819.jar" download="eager"/>
<jar href="eclipse/org.eclipse.core.runtime.compatibility.auth_3.2.100.v20090413.jar" download="eager"/>
<jar href="eclipse/org.eclipse.jface.text_3.5.1.r351_v20090708-0800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.common.ui_1.1.402.v200901262305.jar" download="eager"/>
<jar href="eclipse/org.eclipse.team.ui_3.5.0.I20090430-0408.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ui.navigator_3.4.1.M20090911-1550.jar" download="eager"/>
<jar href="eclipse/org.apache.xml.serializer_2.7.1.v200902170519.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.common.uriresolver_1.1.301.v200805140415.jar" download="eager"/>
<jar href="eclipse/org.eclipse.emf.ecore.edit_2.5.0.v200906151043.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.common.frameworks_1.1.300.v200904160730.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ui.workbench_3.5.1.M20090826-0800a.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ltk.core.refactoring_3.5.0.v20090513-2000.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.common.project.facet.core_1.4.1.v200908111817.jar" download="eager"/>
<jar href="eclipse/org.eclipse.core.contenttype_3.4.1.R35x_v20090826-0451.jar" download="eager"/>
<jar href="eclipse/org.eclipse.equinox.p2.artifact.repository_1.0.101.R35x_v20090721.jar" download="eager"/>
<jar href="eclipse/org.eclipse.equinox.p2.metadata.repository_1.0.101.R35x_v20090812.jar" download="eager"/>
<jar href="eclipse/org.eclipse.emf.common_2.5.0.v200906151043.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.common.emf_1.1.301.v200908181930.jar" download="eager"/>
<jar href="eclipse/org.eclipse.jface_3.5.1.M20090826-0800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.sse.core_1.1.401.v200909172215.jar" download="eager"/>
<jar href="eclipse/org.eclipse.emf.ecore.xmi_2.5.0.v200906151043.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ecf.filetransfer_3.0.0.v20090831-1906.jar" download="eager"/>
<jar href="eclipse/org.eclipse.core.expressions_3.4.100.v20090429-1800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.osgi.util_3.2.0.v20090520-1800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.core.resources_3.5.1.R35x_v20090826-0451.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.xml.core_1.1.401.v200908242115.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.html.core_1.1.300.v200903120608.jar" download="eager"/>
<jar href="eclipse/org.eclipse.core.runtime_3.5.0.v20090525.jar" download="eager"/>
<jar href="eclipse/org.eclipse.jem.util_2.0.200.v200905140200.jar" download="eager"/>
<jar href="eclipse/org.eclipse.equinox.p2.repository_1.0.1.v20090901-1041.jar" download="eager"/>
<jar href="eclipse/org.eclipse.search_3.5.1.r351_v20090708-0800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ltk.ui.refactoring_3.4.100.v20090604.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ant.core_3.2.100.v20090817_r351.jar" download="eager"/>
<jar href="eclipse/org.eclipse.core.databinding.observable_1.2.0.M20090902-0800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.sse.ui_1.1.101.v200908261807.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.html.ui_1.0.401.v200908111935.jar" download="eager"/>
<jar href="eclipse/org.eclipse.core.runtime.compatibility.registry_3.2.200.v20090429-1800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.equinox.common_3.5.1.R35x_v20090807-1100.jar" download="eager"/>
<jar href="eclipse/org.eclipse.text_3.5.0.v20090513-2000.jar" download="eager"/>
<jar href="eclipse/org.apache.xerces_2.9.0.v200909240008.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.common.core_1.1.201.v200806010600.jar" download="eager"/>
<jar href="eclipse/org.eclipse.core.filebuffers_3.5.0.v20090526-2000.jar" download="eager"/>
<jar href="eclipse/org.eclipse.equinox.preferences_3.2.300.v20090520-1800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.equinox.security_1.0.100.v20090520-1800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.common.environment_1.0.301.v200908101600.jar" download="eager"/>
<jar href="eclipse/org.eclipse.swt_3.5.1.v3555a.jar" download="eager"/>
<jar href="eclipse/org.eclipse.debug.ui_3.5.1.v20090811_r351.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ui.ide_3.5.1.M20090826-0800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ui.workbench.texteditor_3.5.0.v20090603.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ui.views.properties.tabbed_3.5.0.I20090429-1800.jar" download="eager"/>
<jar href="eclipse/javax.servlet_2.5.0.v200806031605.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ecf.provider.filetransfer.ssl_1.0.0.v20090831-1906.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ui.forms_3.4.1.v20090714_35x.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.css.core_1.1.300.v200904131653.jar" download="eager"/>
<jar href="eclipse/org.eclipse.core.commands_3.5.0.I20090525-2000.jar" download="eager"/>
<jar href="eclipse/org.eclipse.osgi.services_3.2.0.v20090520-1800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.debug.core_3.5.0.v20090526-1600.jar" download="eager"/>
<jar href="eclipse/org.eclipse.core.jobs_3.4.100.v20090429-1800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.core.resources.compatibility_3.4.0.v20090505.jar" download="eager"/>
<jar href="eclipse/org.eclipse.emf.edit_2.5.0.v200906151043.jar" download="eager"/>
<jar href="eclipse/org.eclipse.equinox.p2.metadata_1.0.100.v20090525.jar" download="eager"/>
<jar href="eclipse/org.eclipse.core.net_1.2.1.r35x_20090812-1200.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.css.ui_1.0.401.v200907171457.jar" download="eager"/>
<jar href="eclipse/org.eclipse.equinox.registry_3.4.100.v20090520-1800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.jface.databinding_1.3.1.M20090826-0800.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.common.modulecore_1.1.301.v200908101600.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ui.editors_3.5.0.v20090527-2000.jar" download="eager"/>
<jar href="eclipse/org.eclipse.equinox.p2.jarprocessor_1.0.100.v20090520-1905.jar" download="eager"/>
<jar href="eclipse/org.eclipse.wst.xml.ui_1.1.1.v200908242115.jar" download="eager"/>
<jar href="eclipse/org.eclipse.compare_3.5.0.I20090514-0808.jar" download="eager"/>
<jar href="eclipse/org.eclipse.ecf_3.0.0.v20090831-1906.jar" download="eager"/>
<jar href="eclipse/org.eclipse.team.core_3.5.0.I20090527-0620.jar" download="eager"/>
<jar href="eclipse/org.eclipse.osgi_3.5.1.R35x_v20090827.jar" download="eager"/>
<jar href="eclipse/org.eclipse.core.filesystem_1.2.0.v20090507.jar" download="eager"/>
<jar href="myExample/com.myExample.plugin.synergy_1.0.0.201002091607.jar" download="eager"/>
<jar href="myExample/com.myExample.plugin.properties_1.0.1.jar" download="eager"/>
<jar href="myExample/com.myExample.plugin.email_1.0.0.jar" download="eager"/>
<jar href="myExample/com.myExample.plugin.common_1.0.2.jar" download="eager"/>
<jar href="myExample/com.myExample.plugin.content_1.0.0.jar" download="eager"/>
<jar href="myExample/com.myExample.plugin.security_1.0.0.jar" download="eager"/>
<jar href="myExample/com.myExample.plugin.payment_1.0.0.jar" download="eager"/>
<jar href="myExample/com.myExample.xxxx_1.0.0.jar" download="eager"/>
</resources>
</jnlp>
|
|
|
Powered by
FUDForum. Page generated in 0.24142 seconds