ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Instructions for Java 1.5 on Debian?

To:
Subject: Re: [ts-7000] Re: Instructions for Java 1.5 on Debian?
From:
Date: Tue, 17 Jul 2007 11:42:05 -0500
Java code compiled with the J2SE 1.4.2 works on J2ME, you just have to  
make sure the java classes your using are in the J2ME profile.  Ex. I  
didn't include graphics in my J2ME profile, I'm only using foundation  
+ JDBC. So a J2SE java program that uses java.awt wouldn't work on my  
J2ME.

lua201068 lead me to this, you might find it helpful:
http://java.sun.com/products/cdc/reference/cdc_packages.pdf



Quoting tedapt <>:

> Thanks,
>
> I'll look further into J2ME. However my code also needs to execute on
> other devices which support the full JDK, I'll have to investigate
> whether moving to J2ME in this case would require me to make changes
> incompatible with the other devices.
>
> --- In  "lua201068" <> wrote:
>>
>> JamVM currently only includes an interpreter whereas J2ME/CDC supports
>> a JIT Compiler, which speeds up the code execution
>>
>> --- In  justin@ wrote:
>> >
>> > apt-get install jamvm
>> > apt-get install jikes
>> >
>> > These will auto install the binaries, including classpath.
>> >
>> > I couldn't get jamvm to work on ts-linux, plus its much larger.  I
> was
>> > able to get J2ME + JDBC working which implements most of SE short
> of a
>> > few minor things like logging (easy work around).  I'm finding it
>> > acutally executes my java code much faster and the fact that j2me +
>> > TS-linux only takes up 7MB is a major plus.
>> >
>> > Justin
>> > Quoting tedapt <tedapt@>:
>> >
>> > > Thanks, I'll take 1.4.2 if I can get it!  Reading up on
> GNU-classpath,
>> > > it looks like v0.95 supports some Java 1.5 features like
> Generics.  I
>> > > suppose to get that I'd have to compile JamVM myself with
>> > > GNU-classpath.  Would rather use a pre-existing binary
> distribution if
>> > > one exists though.
>> > >
>> > > Can anyone explain why its not possible to use JamVM on TS-Linux?  I
>> > > am using Debian for now as I'm more familiar with it, but had hoped
>> > > eventually to use TS-Linux as it seems more compact (and
>> > > cost-effective w/respect to hardware cost.)
>> > >
>> > > Thanks.
>> > >
>> > > --- In  justin@ wrote:
>> > >>
>> > >> Correct, 1.4.2, 1.5 isnt supported yet.  If you want a full SE
>> instead
>> > >> of the micro, you have to use Debian instead of TS-Linux, which I
>> > >> believe is what your using.  But even so the java port to arm
> is only
>> > >> up to 1.4.2, there are several ports I use jamvm, but all use the
>> > >> GNU-classpath, which is only up to 1.4.2.  Hope that helps.
>> > >>
>> > >> http://jamvm.sourceforge.net/
>> > >> http://www.gnu.org/software/classpath/
>> > >>
>> > >> If you need a debian-arm java compilier I recommend:
>> > >> http://jikes.sourceforge.net/
>> > >>
>> > >>
>> > >>
>> > >> Quoting cgraham@:
>> > >>
>> > >> > um, maybe I am wrong, so dont use me as the final source of
> truth.
>> > > its just
>> > >> > what I have eeked out so far.
>> > >> >
>> > >> > from what I have seen in the previous thread it wasnt jdk1.5 that
>> > > was being
>> > >> > proposed as the JVM solution.
>> > >> >
>> > >> > Clay
>> > >> >
>> > >> >
>> > >> > On July 16, 7:10 am "tedapt" <tedapt@> wrote:
>> > >> >> Drat! The folks at embeddedarm told me that it was possible to
>> > > use the
>> > >> >> standard Java SDK with Debian on the TS-7250 (i.e., not J2ME).
>> > >> >> Thought then I could perhaps obtain a Java SDK for ARM/Debian or
>> > >> >> compile from the source code. Will contact embeddedarm for
>> > >> >> clarification, but any comments from other would be appreciated.
>> > >> >>
>> > >> >> --- In  <cgraham@> wrote:
>> > >> >> >
>> > >> >> >  well this has been the source of a previous thread, and great
>> > >> >> interest by
>> > >> >> >  this group. maybe this deserves a wiki/howto?
>> > >> >> >
>> > >> >> >  I am sorry to say 1.5 wont be running on a ts-7250 but you
>> may be
>> > >> >> able to
>> > >> >> >  configure a java environment that runs something like J2ME.
>> > >> >> >
>> > >> >> >  look at:
>> > >> >> >
>> > >> >> >  http://tech.groups.yahoo.com/group/ts-7000/message/7536
>> > >> >> >
>> > >> >> >  Clay
>> > >> >> >
>> > >> >> >
>> > >> >> >  On July 16, 5:57 am "tedapt" <tedapt@> wrote:
>> > >> >> > >  I'm new to the TS-7000 series, just bought a TS-7250. Can
>> anyone
>> > >> >> > >  point me to instructions on how to get Java 1.5 set up for
>> > >> >> > >  Debian?  I'm using a 256MB Flash USB with a Debian distro.
>> > >> >> > >
>> > >> >> > >  I've been more of a Windows guy, but have reasonable
> general
>> > >> >> > >  knowledge of Linux.  I think I should be able to do this
>> somehow
>> > >> >> > >  with apt-get, but am fuzzy on the details. I'm unclear
>> whether I
>> > >> >> > >  should be approaching this as an attempt to build the
>> source vs.
>> > >> >> > >  obtain pre-compiled binaries...
>> > >> >> > >
>> > >> >> > >  Any help greatly appreciated!
>> > >> >> > >
>> > >> >> >
>> > >> >>
>> > >> >
>> > >> >
>> > >>
>> > >
>> > >
>> > >
>> >
>>
>
>
>





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> 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