OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: cortez on May 28, 2006, 01:42:31 pm
-
Latest JamVM (http://jamvm.sourceforge.net/) version 1.4.3, see release notes here (http://sourceforge.net/project/shownotes.php?release_id=418830).
[ You are not allowed to view attachments ]
-
Latest GNU Classpath (http://www.gnu.org/software/classpath/) version 0.91, see release notes here (http://www.gnu.org/software/classpath/announce/20060515.html).
Included in the package is a Graphics2D implementation based on the Cairo Graphics framework (http://www.cairographics.org/), version 1.0.4. Enabling this makes programs like JFreeChart and JEdit start up.
Part 1 is enclosed in this post, part 2 and 3 in next posts (due to forum upload limit). Download all parts and recreate installable package as follows: cat classpath.tar.bz2*.ipk | bunzip2 -c | tar xf -
[ You are not allowed to view attachments ]
-
Part 2 of GNU Classpath (http://www.gnu.org/software/classpath/).
Recreate package as described in previous post.
[ You are not allowed to view attachments ]
-
Part 3 of GNU Classpath (http://www.gnu.org/software/classpath/).
Recreate package as described in previous post.
[ You are not allowed to view attachments ]
-
woohoo new version
i will try it when i get home in a few weeks time ...
-
I have got some problems running jamvm. Here I' trying to run a hello world app:
public class Hello
{
public static void main(String args[])
{
System.out.println("Hello World");
}
}
Here is the output of jamvm Hello:
# jamvm Hello
Exception occurred while VM initialising.
java/lang/NoClassDefFoundError: java/lang/Thread
here is my classpath:
# echo $CLASSPATH
/usr/java/jamvm/share/jamvm/classes.zip:/usr/java/classpath/share/classpath/glibj.zip:/usr/java/classpath/share/classpath/tools.zip
If you have any suggestions please let me know.
-
It seems that JamVM expects Classpath to be in /usr/local/classpath
Try symlinking classpath, I'll look into this later.
-
It seems that JamVM expects Classpath to be in /usr/local/classpath
Try symlinking classpath, I'll look into this later.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=129042\"][{POST_SNAPBACK}][/a][/div]
Sorry i'm still a bit confiused can you echo your classpath and post it?
Here is my second attempt:
# jamvm Hello
Exception occurred while VM initialising.
java/lang/NoClassDefFoundError: java/lang/Thread
# echo $CLASSPATH
/usr/local/classpath:/usr/java/jamvm/share/jamvm/classes.zip:/usr/local/classpath/glibj.zip:/usr/local/classpath/tools.zip
Thanks,
Daryl
-
It seems that JamVM expects Classpath to be in /usr/local/classpath
Try symlinking classpath, I'll look into this later.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=129042\"][{POST_SNAPBACK}][/a][/div]
Sorry i'm still a bit confiused can you echo your classpath and post it?
Here is my second attempt:
# jamvm Hello
Exception occurred while VM initialising.
java/lang/NoClassDefFoundError: java/lang/Thread
# echo $CLASSPATH
/usr/local/classpath:/usr/java/jamvm/share/jamvm/classes.zip:/usr/local/classpath/glibj.zip:/usr/local/classpath/tools.zip
Thanks,
Daryl
[div align=\"right\"][a href=\"index.php?act=findpost&pid=129120\"][{POST_SNAPBACK}][/a][/div]
use jamvm with -Xbootclasspath option and specify the path to classes.zip and glibj.zip
to cortez: maybe you can unify and standardize the location of both jamvm and classpath to /usr/local/java (as the common --prefix). this would make locating all the related files easier, ie related tools like compiler and other tools can also be placed there. /usr/java is problematic on the sharp rom because that location is ro.
btw, i compiled jikes 1.2.2 which can be used to compile java files.
-
use jamvm with -Xbootclasspath option and specify the path to classes.zip and glibj.zip
Like this?
# jamvm -Xbootclasspath /mnt/ide/usr/java/jamvm/share/jamvm/classes.zip:/mnt/ide/usr/java/classpath/share/classpath/glibj.zip
Unrecognised command line option: -Xbootclasspath
# jamvm -version
java version "1.4.2"
JamVM version 1.4.3
Daryl Moulder
-
ok so i had some time finally and tested the new updated version of jamvm and classpath.
the new jamvm is pretty poor. i dont know what the idea is with jamvm. one version supports -jar and the next does not. the new 1.4.3 does not support -jar option whereas 1.4.2 did.
classpath 0.9.1 adds a lot of features like rmi server and certutil tools, but nothing that is really useful for a zaurus unless you want to turn your zaurus into a server.
i still think jamvm 1.4.2 with classpath 0.20 is the best mix at the moment.
as for the new jamvm, you will need to provide the following options for it to work
here is an example to run jedit:
jamvm -Xbootclasspath:/usr/java/jamvm/share/jamvm/classes.zip:/usr/java/classpath/share/classpath/glibj.zip
-Djava.library.path=/usr/java/classpath/lib -cp /usr/local/share/jedit/4.2/jedit.jar org.gjt.sp.jedit.jEdit
however, jedit does not work properly. xmlj is missing
-
Hi all.
I don't understand how set classpath in pdaxrom.
If I set an alias or a classpath in /etc/profile it doesn't work.
I have installed classpath ipk, jamvm ipk, and jikes.
With jikes I can compile, but I can't load my java classes, I have an exception in thread class...
Anyone can help me?
I'm new in this world...