Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Java Web Start, Eclipse RCP and Mac
Java Web Start, Eclipse RCP and Mac [message #479252] Mon, 10 August 2009 13:01 Go to next message
Kevin Pollet is currently offline Kevin PolletFriend
Messages: 10
Registered: July 2009
Junior Member
Hi,

I want to deploy an Eclipse RCP application with Java Web Start. I have
read a lot of tutorial and its works fine with Linux and windows.

But, I used Mac Os with Leopard but the ui views are not responsive (mouse
click on a view have no effect).

Someone have an idea ?

Best Regards,

Kevin Pollet
Re: Java Web Start, Eclipse RCP and Mac [message #479317 is a reply to message #479252] Mon, 10 August 2009 16:49 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Kevin Pollet wrote:
> Hi,
>
> I want to deploy an Eclipse RCP application with Java Web Start. I have
> read a lot of tutorial and its works fine with Linux and windows.
>
> But, I used Mac Os with Leopard but the ui views are not responsive
> (mouse click on a view have no effect).
>
> Someone have an idea ?

This is a shot in the dark, but have you tried specifying this JVM argument:
-XstartOnFirstThread

It is mentioned in http://www.eclipse.org/swt/macosx/

Hope this helps,
Eric
Re: Java Web Start, Eclipse RCP and Mac [message #479347 is a reply to message #479317] Mon, 10 August 2009 17:57 Go to previous messageGo to next message
Kevin Pollet is currently offline Kevin PolletFriend
Messages: 10
Registered: July 2009
Junior Member
Thanks for your response.

Yes, I put this flag.
Here is an example of the main jnlp file :

<?xml version="1.0" encoding="utf8"?>
<jnlp spec="1.0+"
codebase="http://192.168.86.147/~kevin/JavaWebStart/helium/"
href="helium.jnlp">

<information>
<title>Helium</title>
<vendor>SERLI</vendor>
<shortcut online="false">
<desktop/>
</shortcut>
<offline-allowed/>
</information>

<security>
<all-permissions/>
</security>

<update check="timeout" policy="always"/>

<resources>
<jar name="Launcher"
href="plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar "
main="true"/>
<extension name="WrapperFeature"
href="features/com.serli.helium.wrapperfeature_1.0.0.beta.jnlp " />

<property name="osgi.configuration.area"
value="@user.home/.helium/config/"/>
<property name="osgi.instance.area"
value="@user.home/.helium/instance/"/>
<property name="osgi.bundles" value="org.eclipse.equinox.ds@4:start,
org.eclipse.equinox.http.registry@4:start,
com.serli.helium.core.server@4:start"/>
<property name="osgi.nl" value="en"/>

<property name="eclipse.application"
value="com.serli.helium.ui.product.workbench.application"/ >
<property name="eclipse.product"
value="com.serli.helium.ui.product.workbench.product"/>
<property name="eclipse.registry.nulltoken" value="true"/>
<property name="org.eclipse.equinox.http.jetty.autostart"
value="false"/>
<property name="org.mortbay.jetty.Request.maxFormContentSize"
value="9999999"/>

</resources>

<!-- System resources -->

<resources os="Mac">
<property name="osgi.ws" value="cocoa" />
<java version="1.6" java-vm-args="-XstartOnFirstThread" />
</resources>

<resources os="Linux">
<property name="osgi.ws" value="gtk" />
<java version="1.6" />
</resources>

<resources os="Windows">
<java version="1.6" />
</resources>

<!-- Application descriptor -->

<application-desc main-class="org.eclipse.equinox.launcher.WebStartMain">
<argument>-nosplash </argument>
</application-desc>

</jnlp>

there is an error ?

PS : I used java6 with x86 64bit swt cocoa port.

Best regards,
Kevin
Re: Java Web Start, Eclipse RCP and Mac [message #479446 is a reply to message #479347] Tue, 11 August 2009 07:04 Go to previous messageGo to next message
Kevin Pollet is currently offline Kevin PolletFriend
Messages: 10
Registered: July 2009
Junior Member
To complete my previous post.

When I start the application with Java Web Start I get the following error
in the console :

java[196:10b] *** Assertion failure in -[NSMenu itemAtIndex:],
/SourceCache/AppKit/AppKit-949.54/Menus.subproj/NSMenu.m:819

Thanks
Re: Java Web Start, Eclipse RCP and Mac [message #480550 is a reply to message #479446] Mon, 17 August 2009 15:12 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi,

There were problems in the past deploying SWT with JWS on OSX, but it seems
like these should be resolved if you're running with a recent JRE (see
towards the end of https://bugs.eclipse.org/bugs/show_bug.cgi?id=63306 ).
It would be helpful if you could log a report about this with swt (
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=SWT ).

Thanks!
Grant


"Kevin Pollet" <pollet.kevin@gmail.com> wrote in message
news:30fb2116986c17a1a828f35bed150757$1@www.eclipse.org...
> To complete my previous post.
>
> When I start the application with Java Web Start I get the following error
> in the console :
>
> java[196:10b] *** Assertion failure in -[NSMenu itemAtIndex:],
> /SourceCache/AppKit/AppKit-949.54/Menus.subproj/NSMenu.m:819
>
> Thanks
>
Previous Topic:StatusLine
Next Topic:Error log view triggers dozens of EditorPart.getAdapter() calls
Goto Forum:
  


Current Time: Wed Feb 05 10:49:01 GMT 2025

Powered by FUDForum. Page generated in 0.08038 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top