commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Raess <co...@gmx.ch>
Subject Re: JellySwt : problem running demo
Date Fri, 15 Oct 2004 08:46:23 GMT
I've just found out that you've started another thread and got some  
answers there. You seem to be using linux so my comment below is  
slightly inappropriate ;). It's another problem as pointed out by  
others...

Am 15.10.2004 um 10:39 schrieb Simon Raess:

> Hi
>
> The important line is
>
>>   [java] Exception in thread "main" java.lang.UnsatisfiedLinkError:  
>> no swt-win32-2128 in java.library.path
>
> You have to set the system property java.library.path to point to the  
> swt library for win32. I don't have a windows machine, so the  
> following may be slightly incorrect:
>
> maven demo  
> -Djava.library.path=c: 
> \eclipse\plugins\org.eclipse.swt.win32_3.0.1\os\win32\i386\
>
> Hope this helps!
> Simon
>
>
> Am 14.10.2004 um 14:00 schrieb A Leg:
>
>> Hi
>>
>> I am interested to use jelly swt for our project.
>> http://compiere-mfgscm.sourceforge.net
>>
>> I when I try to run jelly 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.j 
>> ava:84)
>>   [java]      at  
>> org.apache.commons.jelly.tags.swt.SwtTagLibrary.<init>(SwtTagLibrary.j 
>> ava:94)
>>   [java]      at  
>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>   [java]      at  
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo 
>> rAccessorImpl.java:39)
>>   [java]      at  
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo 
>> nstructorAccessorImpl.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(AbstractSAXPa 
>> rser.java:446)
>>   [java]      at  
>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNS 
>> DocumentScannerImpl.java:306)
>>   [java]      at  
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentD 
>> ispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1568)
>>   [java]      at  
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XML 
>> DocumentFragmentScannerImpl.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.ja 
>> va: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