OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => X/Qt => Topic started by: netog on July 10, 2006, 10:05:56 am
-
Hello
I have installed the base-pdaXqtrom, apps, java and zgcc cramfs in my C1000.
I have problem using jamvm with Classpath.
When I run /mnt/java/jamvm/bin/jamtest the output is:
jamvm test
swing test
bootclasspath is empty!
So I changed jamtest to run saying where the bootclasspath is:
jamvm -verbose -cp /usr/local/java/share/examples/examples.zip -bootclasspath /mnt/java/jamvm/share/classpath gnu.classpath.examples.swing.Demo
and now the output is:
[Linking class java/lang/Object]
[Linking class java/io/Serializable]
[Loaded java/lang/Class from /mnt/java/jamvm/share/classpath]
[Linking class java/lang/Class]
[Loaded java/io/Serializable from /mnt/java/jamvm/share/classpath]
[Loaded java/lang/Class from /mnt/java/jamvm/share/classpath]
[Loaded java/lang/Object from /mnt/java/jamvm/share/classpath]
[Loaded java/lang/Runnable from /mnt/java/jamvm/share/classpath]
[Linking class java/lang/Runnable]
[Loaded java/lang/Thread from /mnt/java/jamvm/share/classpath]
[Linking class java/lang/Thread]
[Loaded java/lang/VMThread from /mnt/java/jamvm/share/classpath]
[Linking class java/lang/VMThread]
Error initialising VM (initialiseMainThread)
What is wrong now?
Thanks in advance.
-
Hello
I have installed the base-pdaXqtrom, apps, java and zgcc cramfs in my C1000.
I have problem using jamvm with Classpath.
When I run /mnt/java/jamvm/bin/jamtest the output is:
jamvm test
swing test
bootclasspath is empty!
So I changed jamtest to run saying where the bootclasspath is:
jamvm -verbose -cp /usr/local/java/share/examples/examples.zip -bootclasspath /mnt/java/jamvm/share/classpath gnu.classpath.examples.swing.Demo
and now the output is:
[Linking class java/lang/Object]
[Linking class java/io/Serializable]
[Loaded java/lang/Class from /mnt/java/jamvm/share/classpath]
[Linking class java/lang/Class]
[Loaded java/io/Serializable from /mnt/java/jamvm/share/classpath]
[Loaded java/lang/Class from /mnt/java/jamvm/share/classpath]
[Loaded java/lang/Object from /mnt/java/jamvm/share/classpath]
[Loaded java/lang/Runnable from /mnt/java/jamvm/share/classpath]
[Linking class java/lang/Runnable]
[Loaded java/lang/Thread from /mnt/java/jamvm/share/classpath]
[Linking class java/lang/Thread]
[Loaded java/lang/VMThread from /mnt/java/jamvm/share/classpath]
[Linking class java/lang/VMThread]
Error initialising VM (initialiseMainThread)
What is wrong now?
Thanks in advance.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134541\"][{POST_SNAPBACK}][/a][/div]
Xbootclasspath needs to have /usr/local/java/share/jamvm/classes.zip:/usr/local/java/share/classpath
hmmm.. seems like a symlink from /usr/local/java/bin/jamvm-bin to /usr/bin/jamvm-bin is missing...
/usr/bin/jamvm should be a link to /usr/local/java/bin/jamvm
looks like the setup script needs fixing
-
I fixed the symlinks and everything worked OK.
Swing runs a bit slow... not very usable ... but it works.
Thanks.