OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Java Environment, Updated: JamVM and GNU Classpath
cortez
post May 28 2006, 09:42 AM
Post #1





Group: Members
Posts: 376
Joined: 18-March 04
From: The Netherlands
Member No.: 2,380



Latest JamVM version 1.4.3, see release notes here.

Attached File  jamvm_1.4.3_armv5tel.ipk ( 76.53K ) Number of downloads: 204
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
cortez
post May 30 2006, 12:52 PM
Post #2





Group: Members
Posts: 376
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.
Go to the top of the page
 
+Quote Post
darmou
post May 31 2006, 04:48 AM
Post #3





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
Go to the top of the page
 
+Quote Post
Meanie
post Jun 3 2006, 01:23 AM
Post #4





Group: Members
Posts: 2,808
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.
Go to the top of the page
 
+Quote Post
darmou
post Jun 5 2006, 01:41 AM
Post #5





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
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th November 2014 - 10:37 AM