Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 270950 - Webstart : osgi.ws=cocoa required with jdk 1.6
Summary: Webstart : osgi.ws=cocoa required with jdk 1.6
Status: CLOSED DUPLICATE of bug 303907
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: equinox.framework-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 268733
  Show dependency tree
 
Reported: 2009-04-02 08:14 EDT by Nicolas Richeton CLA
Modified: 2010-04-14 16:37 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Richeton CLA 2009-04-02 08:14:45 EDT
My webstart application is  exported from Eclipse 3.5M6 with multi platforms.
When I start it with jdk 1.6, it starts with the wrong system : 
carbon instead of cocoa. 

!SESSION 2009-04-02 13:24:18.246 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_07
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=carbon, NL=fr_FR

and fails.

I can solve the issue by setting osgi.ws=cocoa, but this should be the default here.
Comment 1 Andrew Niefer CLA 2010-02-25 11:50:20 EST
See bug 286453, 3.6M2 contains an "alternate" default, if you include the org.eclipse.equinox.launcher.cocoa.macosx.x86_64 fragment in your product then things would work properly.
Comment 2 Thomas Watson CLA 2010-02-25 14:19:30 EST
(In reply to comment #1)
> See bug 286453, 3.6M2 contains an "alternate" default, if you include the
> org.eclipse.equinox.launcher.cocoa.macosx.x86_64 fragment in your product then
> things would work properly.

When using webstart, can you have the launcher fragments?  I seem to remember that all bundles included in your jnlp files must be jar'ed and signed.
Comment 3 Andrew Niefer CLA 2010-02-25 14:26:37 EST
Yes, from bug 209694, Main can extract the shared library from a jared fragment.  Of course the native launcher can't use the fragment in this form, but it works for JNLP.
Comment 4 Thomas Watson CLA 2010-04-14 16:37:13 EDT

*** This bug has been marked as a duplicate of bug 303907 ***