Boot Library Path: /usr/lib/classpath
Boot Class Path: /usr/share/jamvm/classes.zip:/usr/share/classpath/glibj.zip_
I've checked that the file classes.zip exists and it is on the specified location, but no glibj.zip exists on the system. As I supposed this was the problem, I downloaded the GNU classpath files (0.98 version) from http://www.gnu.org/software/classpath/, untared them and then zipped into a file named glibj.zip. Then, I placed it on the corresponding directory. However, I'm getting the same error.
I would like to know what is the problem and how to solve it. Note that I didn't build jamvm on the OpenWRT file system, but I cross compiled it and then installed with opkg.
Thank you for your support,
Javi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
You are right, glibj.zip comes from Classpath, it contains Java API classes. However you cannot just put java files downloaded from the internet and zip them, you have to compile the Classpath project to have this file and other librairies your system will need.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm trying to run a basic HelloWorld Java program on an OpenWRT Backfire 10.03 platform after installing jamvm on it but I get this error:
# jamvm example
Exception occurred while VM initialising.
java/lang/NoClassDefFoundError: java/lang/Class
jamvm -version returns this:
_java version "1.5.0"
JamVM version 1.5.4
…
Build information:
Execution Engine: switch-based interpreter
Compiled with: gcc 4.4.2
Boot Library Path: /usr/lib/classpath
Boot Class Path: /usr/share/jamvm/classes.zip:/usr/share/classpath/glibj.zip_
I've checked that the file classes.zip exists and it is on the specified location, but no glibj.zip exists on the system. As I supposed this was the problem, I downloaded the GNU classpath files (0.98 version) from http://www.gnu.org/software/classpath/, untared them and then zipped into a file named glibj.zip. Then, I placed it on the corresponding directory. However, I'm getting the same error.
I would like to know what is the problem and how to solve it. Note that I didn't build jamvm on the OpenWRT file system, but I cross compiled it and then installed with opkg.
Thank you for your support,
Javi
Hi,
You are right, glibj.zip comes from Classpath, it contains Java API classes. However you cannot just put java files downloaded from the internet and zip them, you have to compile the Classpath project to have this file and other librairies your system will need.