Edit your /etc/apt/sources.list
remove or comment out the http line. I had a lot of issues with it as
well, I assume your using the default installation on the CF card that
came with your board. Put this line at the top of your list:
deb ftp://ftp.us.debian.org/debian stable main contrib non-free
This works without any errors. just run `apt-get update` again.
now run `apt-get remove jamvm`
then `apt-get install jamvm`
this should fix your errors
justin
Quoting tedapt <>:
> Thanks very much for your help. I've managed to get jamvm installed on
> Debian Sarge after a few tries:
>
> apt-get install jamvm
> [failed with some error messages about missing libraries]
>
> then
>
> apt-get --fix-missing install jamvm
> [failed again]
>
> then
>
> apt-get update
>
> finally
>
> apt-get install jamvm
>
> and despite some complaints it appears to be installed and working
> (ftp'd a test class to the board and invoked jamvm.
>
> I'll look further into J2ME too, but I seem to recall there were some
> class issues that put me off it earlier.
>
>
> --- In wrote:
>>
>> 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" <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/
|