![]() |
![]() |
![]()
Post
#1
|
|
![]() Group: Members Posts: 373 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 ![]() |
Latest JamVM version 1.4.3, see release notes here.
![]() |
|
|
![]() |
![]()
Post
#2
|
|
![]() Group: Members Posts: 373 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 ![]() |
Latest GNU Classpath version 0.91, see release notes here.
Included in the package is a Graphics2D implementation based on the Cairo Graphics framework, 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 - ![]() |
|
|
![]()
Post
#3
|
|
![]() Group: Members Posts: 373 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 ![]() |
Part 2 of GNU Classpath.
Recreate package as described in previous post. ![]() |
|
|
![]()
Post
#4
|
|
![]() Group: Members Posts: 373 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 ![]() |
Part 3 of GNU Classpath.
Recreate package as described in previous post. ![]() |
|
|
![]()
Post
#5
|
|
![]() Group: Members Posts: 2,803 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 ![]() |
woohoo new version
![]() i will try it when i get home in a few weeks time ... |
|
|
![]()
Post
#6
|
|
Group: Members Posts: 62 Joined: 17-December 04 Member No.: 5,956 ![]() |
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. |
|
|
![]()
Post
#7
|
|
![]() Group: Members Posts: 373 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 ![]() |
It seems that JamVM expects Classpath to be in /usr/local/classpath
Try symlinking classpath, I'll look into this later. |
|
|
![]()
Post
#8
|
|
Group: Members Posts: 62 Joined: 17-December 04 Member No.: 5,956 ![]() |
QUOTE(cortez @ May 30 2006, 08:52 PM) It seems that JamVM expects Classpath to be in /usr/local/classpath Try symlinking classpath, I'll look into this later. 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 |
|
|
![]()
Post
#9
|
|
![]() Group: Members Posts: 2,803 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 ![]() |
QUOTE(darmou @ May 31 2006, 10:48 PM) QUOTE(cortez @ May 30 2006, 08:52 PM) It seems that JamVM expects Classpath to be in /usr/local/classpath Try symlinking classpath, I'll look into this later. 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 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. |
|
|
![]()
Post
#10
|
|
Group: Members Posts: 62 Joined: 17-December 04 Member No.: 5,956 ![]() |
QUOTE 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 |
|
|
![]()
Post
#11
|
|
![]() Group: Members Posts: 2,803 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 ![]() |
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 ![]() |
|
|
![]()
Post
#12
|
|
![]() Group: Members Posts: 128 Joined: 6-June 06 Member No.: 10,068 ![]() |
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... |
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 26th April 2018 - 09:43 AM |