Pasqual,
Ooops I didn't read your message completely.
To run HelloWorld.class you need to add ./ to the CLASSPATH
java doesn't by default look in the current directory so
export CLASSPATH=./
should work, you don't need to reference the system classes
You don't need another compiler. your windows java compiler will work
fine.
Dave
On 8-Mar-06, at 4:23 PM, wrote:
> ---------- Forwarded message ----------
> From: Pasqual Nebot <>
> Date: Mar 8, 2006 7:42 PM
> Subject: Re: jam vm binaries
> To: Dave Cramer <>
>
> Hi,
>
> I've copied your jamvm binaries into the ts7250 flash.
> 1) ldd shows dependencies with libz.so.1 and I've copied the
> libz.so.1.1.4
> installed
> on the development kit cf.
> 2) next, ldd says it is needed libpthread.so.0 , and I've take this
> from a
> debian
> package because the development cf includes a glibc older than 2.3.2
> 3) now, jamvm runs (but I am not shure about the way I've installed
> it)
> 4) I compile a trivial helloworld.java with my windows JDK javac
> 5) I transfer by ftp the class file, but jamvm helloworld.class
> returns:
>
> Cannot create system class loader
> Exception occured while printing exception (java/lang/
> NoClassDefFoundError)...
> Original exception was java/lang/UnsatisfiedLinkError
>
> I've set $CLASSPATH and so, but it remains something wrong.
> $ env
> USER=root
> LD_LIBRARY_PATH=:/usr/local/jamvm/lib/classpath
> HOME=/root
> LOGNAME=root
> TERM=linux
> PATH=/usr/sbin:/bin:/usr/bin:/sbin:/usr/local/jamvm/bin
> SHELL=/bin/sh
> CLASSPATH=:/usr/local/jamvm/share/classpath/glibj.zip:/usr/local/
> jamvm/share/jam
>
> vm/classes.zip
> PWD=/root
>
> Can I use the javac compiler from my windows desktop machine and
> then ftp the .class code?
> Perhaps I need another compiler? What do you recomend? jikes?
> Do you have ARM binaries for the ts7250?
> It is all so confussing to me.
>
> Thank you,
>
> Pasqual.
>
> Pasqual Nebot i Miravet
> Mas Ingenieros
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|