I posted this to jamvm-general, but thought I'd post this here as well, in
case it is a classpath problem... I'd appreciate any help on the issue.

Thanks!
-b.

-----


I have cross-compiled JamVM1.5.0 and Gnu Classpath 0.96.1
 for the HardHat PowerPC
platform (MonteVista).
I used these configure options for classpath: --enable-jni,
--disable-gtk-peer, --disable-gconf-peer,
--disable-plugin, --disable-Werror, --with-javac. The --with-javac options
is set to point to Sun's
JDK1.6/2 javac binary. Of course --host and --build are set as appropriate
for cross-compilation.

For jamvm I used the --host and --build configure options as appropriate for
cross-compilation. I also
used the --with-classpath-install-dir option to point to the classpath
installation.

When I try to test this out with a simple hello-world test program and I get
the following error:

*Cannot create system class loader
Exception occurred while printing exception (java/lang/NoClassDefFoundError)

Original exception was java/lang/UnsatisfiedLinkError*

I searched
thejamvm-general email archives. In there was a posting that is
somewhat similar.

The resolution was to enable-jni. I have it enabled. Looking at my
/usr/local/classpath/lib/classpath directory, I don't have any *so* files,
but I have *la *files.

I assume the problem is that *so* files need to be created, but I am not
sure why they are not
being built nor what I should do to get them to build.

Does anyone have any idea what I may be doing wrong?

Thanks!
-b.

Reply via email to