commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dion Gillard <dion.gill...@gmail.com>
Subject Re: no swt-win32-2128 in java.library.path in LINUX
Date Tue, 19 Oct 2004 03:56:21 GMT
This was discussed recently. By default JellySWT comes with a windows
specific jar. You'll need the linux jar and it's runtime dependencies.


On Thu, 14 Oct 2004 11:51:26 +0300, A Leg <hale_india@yahoo.com> wrote:
> 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.java:84)
>     [java]      at
> org.apache.commons.jelly.tags.swt.SwtTagLibrary.<init>(SwtTagLibrary.java:94)
>     [java]      at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>     [java]      at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>     [java]      at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.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(AbstractSAXParser.java:446)
>     [java]      at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:306)
>     [java]      at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1568)
>     [java]      at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.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.java: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
> 
> 


-- 
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
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