commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From A Leg <hale_in...@yahoo.com>
Subject Re: no swt-win32-2128 in java.library.path in LINUX
Date Tue, 19 Oct 2004 04:17:46 GMT
Hi Paul

Thank's, it help me.

I have done it. My problem is that it goes get swt jars on ibiblio, 
which require old release of these native, which is nowhere now.

I would like to know, how I could change to use some local swt jar,  so 
I will be able to use up to date one with corresponding native.
I don't find tags.html have you any idea where I could get it to have 
some jellySwt tags docs ?

Best regards

Andre

Paul Libbrecht wrote:

> SWT is a native dependency... there's no way to make this somewhat  
> platform dependent... I think it works on Windows (never tried)... 
> your  best best is download a SWTxxxx.so and put it somewhere close to 
> the  working directory...
>
> hope that helps.
>
> paul
>
>
> Le 14 oct. 04, à 10:51, A Leg a écrit :
>
>> Hi
>>
>> I am interested to use jetty swt for our project.
>> http://compiere-mfgscm.sourceforge.net
>>
>> I when I try to run jetty swt demo on Linux fedora 2 I get this :
>>
>> Any help welcome.
>> Thank's for any reply
>>
>> Andre Legendre
>> {orion:rcs} maven demo
>> __  __
>> |  \/  |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0
>>
>> build:start:
>>
>> java:prepare-filesystem:
>>
>> java:compile:
>>    [echo] Compiling to  
>> /home/rcs/Master/extern/java/jakarta/jakarta-commons/jelly/jelly-tags/ 
>> swt/target/classes
>>
>> java:jar-resources:
>>
>> test:prepare-filesystem:
>>
>> test:test-resources:
>>
>> test:compile:
>>
>> create-classpath:
>>
>> demo:
>>    [java] Exception in thread "main" java.lang.UnsatisfiedLinkError:  
>> no swt-win32-2128 in java.library.path
>>    [java]      at  
>> java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
>>    [java]      at java.lang.Runtime.loadLibrary0(Runtime.java:788)
>>
>>    [java]      at  
>> org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:42)
>>    [java]      at  
>> org.eclipse.swt.internal.win32.TCHAR.<clinit>(TCHAR.java:26)
>>    [java]      at  
>> org.eclipse.swt.widgets.Widget.<clinit>(Widget.java:79)
>>    [java]      at java.lang.Class.forName0(Native Method)
>>    [java]      at java.lang.Class.forName(Class.java:141)
>>    [java]      at  
>> org.apache.commons.jelly.tags.swt.SwtTagLibrary.class$(SwtTagLibrary.ja 
>> va:84)
>>    [java]      at  
>> org.apache.commons.jelly.tags.swt.SwtTagLibrary.<init>(SwtTagLibrary.ja 
>> va:94)
>>    [java]      at  
>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>    [java]      at  
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor 
>> AccessorImpl.java:39)
>>    [java]      at  
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon 
>> structorAccessorImpl.java:27)
>>    [java]      at  
>> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>>    [java]      at java.lang.Class.newInstance0(Class.java:308)
>>    [java]      at java.lang.Class.newInstance(Class.java:261)
>>    [java]      at  
>> org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java: 
>> 454)
>>    [java]      at  
>> org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java: 979)
>>    [java]      at  
>> org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java: 
>> 593)
>>    [java]      at  
>> org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXPar 
>> ser.java:446)
>>    [java]      at  
>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSD 
>> ocumentScannerImpl.java:306)
>>    [java]      at  
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi 
>> spatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1568)
>>    [java]      at  
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLD 
>> ocumentFragmentScannerImpl.java:355)
>>    [java]      at  
>> org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java: 
>> 539)
>>    [java]      at  
>> org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java: 
>> 595)
>>    [java]      at  
>> org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
>>    [java]      at  
>> org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.jav 
>> a:1125)
>>    [java]      at  
>> org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:238)
>>    [java]      at  
>> org.apache.commons.jelly.Jelly.compileScript(Jelly.java:125)
>>    [java]      at  
>> org.apache.commons.jelly.util.CommandLineParser.invokeCommandLineJelly( 
>> CommandLineParser.java:98)
>>    [java]      at org.apache.commons.jelly.Jelly.main(Jelly.java:92)
>>    [java] [ERROR] Java Result: 1
>> BUILD SUCCESSFUL
>> Total time: 5 seconds
>> Finished at: Thu Oct 14 11:30:44 EEST 2004
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message