ts-7000
[Top] [All Lists]

Re: [ts-7000] jamvm on the ts-7000

To:
Subject: Re: [ts-7000] jamvm on the ts-7000
From: Dave Cramer <>
Date: Thu, 9 Mar 2006 07:42:41 -0500
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/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU