Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT nklp linux
SWT nklp linux [message #451440] Wed, 02 March 2005 10:00 Go to next message
Marcel is currently offline MarcelFriend
Messages: 3
Registered: July 2009
Junior Member
Hi,

I would like to provide access for my swt-application using jnlp. For
windows I got no problems but if I the jnlp-file on Debian Mozilla I got a
message "no swt-win32-3063 in library.path". Why is it searching for
swt-win32?!
Here is my jnlp-file (using the resource-tag for os):

<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+"
codebase="http://xp.local.net:8080/jnlp/myPackage/">
<offline-allowed/>

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

<resources>
<j2se version="1.2+" />
<jar href="myJar.jar"/>
</resources>

<resources os="Windows">
<jar href="windows/swt-win.jar"/>
<nativelib href="windows/swtNativeLib.jar"/>
</resources>

<resources os="Linux">
<jar href="linux/swt.jar"/>
<jar href="linux/swt-mozilla.jar"/>
<jar href="linux/swt-pi.jar"/>
<nativelib href="linux/swtNativeLib.jar"/>
</resources>

<application-desc main-class="myPck.myProgram" />
</jnlp>

Hope someone had same problems ....
Marcel
Re: SWT nklp linux [message #451446 is a reply to message #451440] Wed, 02 March 2005 13:22 Go to previous message
Eclipse UserFriend
Originally posted by: pluh.obscurus.net

I guess you have to compile the java sources with linux SWT jar.
Unlike other independent libraries, SWT's jar is platformly dependent
because concrete links to native code have to be present there

Jakub


Marcel wrote:
> Hi,
>
> I would like to provide access for my swt-application using jnlp. For
> windows I got no problems but if I the jnlp-file on Debian Mozilla I got
> a message "no swt-win32-3063 in library.path". Why is it searching for
> swt-win32?!
> Here is my jnlp-file (using the resource-tag for os):
>
> <?xml version="1.0" encoding="UTF-8"?>
> <jnlp spec="1.0+"
> codebase="http://xp.local.net:8080/jnlp/myPackage/">
> <offline-allowed/>
>
> <security>
> <all-permissions/>
> </security>
>
> <resources>
> <j2se version="1.2+" />
> <jar href="myJar.jar"/>
> </resources>
>
> <resources os="Windows"> <jar href="windows/swt-win.jar"/>
> <nativelib href="windows/swtNativeLib.jar"/>
> </resources>
>
> <resources os="Linux"> <jar href="linux/swt.jar"/>
> <jar href="linux/swt-mozilla.jar"/>
> <jar href="linux/swt-pi.jar"/>
> <nativelib href="linux/swtNativeLib.jar"/>
> </resources>
>
> <application-desc main-class="myPck.myProgram" />
> </jnlp>
>
> Hope someone had same problems ....
> Marcel
>
Previous Topic:Why no TableColumn.computeSize() ?
Next Topic:Switching 3.1M4 to 3.1M5a and Exception Handling
Goto Forum:
  


Current Time: Fri Sep 18 15:26:47 GMT 2020

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

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

Back to the top