[kaffe] URLClassLoader Test
Arnaud Vandyck
avdyk at debian.org
Tue Oct 12 09:20:26 PDT 2004
Hi all,
I'm still investigating my powerpc jar problem... I made a little test
with the URLClassLoader.
Attached is a tarball with (in subdir helloworld) a makefile and two
sources. The test.Test class will print 'Hello' on its main method; the
test.JarTest will parse arguments finding entries in a jar file, load
that jar file in the class loader (with URLClassLoader) and the try to
launch test.Test.
After building the two classes in the build directory and make it a jar
file, I remove test.Test.class from the build directory.
$ make clean #to clean
and simply type
$ make
if you have gcj, gij, java-sablevm, jamvm and kaffe in your path. Else,
you'll have to edit the Makefile.
On my powerpc, every JVM does the job... but kaffe.
I hope it helps.
Let me know if I can do more things to help.
--
Arnaud Vandyck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: helloworld.tar.gz
Type: application/octet-stream
Size: 1636 bytes
Desc: not available
Url : http://pogo.kaffe.org/pipermail/kaffe/attachments/20041012/19de05bb/helloworld.tar.obj
More information about the kaffe
mailing list