[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
JAWT odds
From: |
Robert Schuster |
Subject: |
JAWT odds |
Date: |
Wed, 07 Sep 2005 02:10:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.11) Gecko/20050830 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have some questions about the JAWT interface in Classpath.
1) To compile the JAWT demo I had to copy the source files into the object
folder and run make with:
make -f Makefile.jawt (from ${obj_dir}/examples)
It would be nice if the makefile would work without the need to copy the sources
over.
2) Then I had troubles running the demo in the way I am used to (JDK-like). I
would call:
jamvm -Djava.library.path=. gnu.classpath.examples.jawt.DemoJAWT
(In "." lies the libDemoJAWT.so library and my jamvm is compiled to use
Classpath and its libraries from a user directory - so no additional arguments
should be needed.)
However this failed with:
address@hidden ~/tmp/cp-dev/swing-fixes/cp-obj/examples $ jamvm
- -Djava.library.path=. gnu.classpath.examples.jawt.DemoJAWT
java.lang.UnsatisfiedLinkError: Native library `DemoJAWT' not found (as file
`/libDemoJAWT.so') in gnu.classpath.boot.library.path and java.library.path
at java.lang.Runtime.loadLibrary (Runtime.java:763)
at java.lang.System.loadLibrary (System.java:512)
at gnu.classpath.examples.jawt.DemoJAWT.<clinit> (DemoJAWT.java:30)
The only way I to run the demo was by calling:
LD_LIBRARY_PATH=.:/home/rob/INSTALL/classpath/lib/classpath jamvm
gnu.classpath.examples.jawt.DemoJAWT
So, now I wonder whether this is my fault because I extensively played around
with --prefix installed software (Qt4, Classpath and JamVM) or a bug in
Classpath (or JamVM)?
Btw: Great work with the JAWT interface. That is one really nifty feature.
Btw2: It does not work with the Qt4 peers, but I think this is a known bug, is
it?
cu
Robert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFDHi/YG9cfwmwwEtoRAvmHAKCXpUXy3r5WKmkqUd+kVPceCuFwYQCfRU+3
UovTaIIm0k/N2d2X4BzzGn4=
=wPTE
-----END PGP SIGNATURE-----
- JAWT odds,
Robert Schuster <=