ts-7000
[Top] [All Lists]

Re: [ts-7000] Re java totalbeginner

To: <>
Subject: Re: [ts-7000] Re java totalbeginner
From: salva g <>
Date: Wed, 4 Nov 2009 23:16:40 +0100


Thanks, now i have


:pru_java# export CLASSPATH=./
jamvm hellojava      // yes it works, now...
:pru_java# ls
Constants.class  GetSTatus.lib  GetStatus.c      GetStatus.dll  GetStatus.java       hellojava.class*
GetSTatus.exp    GetSTatus.obj  GetStatus.class  GetStatus.h    MenuFunctions.class  jikes_1.22-2_arm.deb
:pru_java# jamvm GetStatus
java.lang.UnsatisfiedLinkError: Could not find library GetStatus.
   at java.lang.Runtime.loadLibrary (Runtime.java:736)
   at java.lang.System.loadLibrary (System.java:757)
   at GetStatus.<clinit> (GetStatus.java:460)

Please help





Dave wrote:


jamvm works fine.

You need to set the classpath

export CLASSPATH=./


then jamvm hellojava

Dave


On Wed, Nov 4, 2009 at 3:31 AM, salva g <m("hotmail.com","salvagrana");">com> wrote:
  Now ii have installed the jikes.
No, I have not connected the box to the net. So I take the packet from the web.
Also why does the program hellojava not work?

On Mon, Nov 2, 2009 at 12:11 PM, salva g h.....> wrote:
>
>
> Hi all,
> I have copied the hellojava.class to the ts7800, but jamvm hellojava does not work:
>
> :pru_java# jamvm ./hellojava
> java.lang.NoClassDefFoundError: //hellojava
>    <>
>
> also I can not do java ./hellojava, I have not this command(java)
>
> While trying to install jikes
>
> :pru_java# apt-get install jikes
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Recommended packages:
>   jikes-gij jikes-kaffe jikes-sun jikes-classpath jikes-sablevm
> The following NEW packages will be installed:
>   jikes
> 0 upgraded, 1 newly installed, 0 to remove and 37 not upgraded.
> Need to get 749kB of archives.
> After unpacking 1876kB of additional disk space will be used.
> Err ftp://ftp.us.debian.org sarge/main jikes 1:1.22-2 Temporary failure resolving 'ftp.us.debian.org'
> Failed to fetch ftp://ftp.us.debian.org/debian/pool/main/j/jikes/jikes_1.22-2_arm.deb  Temporary failure resolving 'ftp.us.debian.org'
> E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
>
> So I have taked the packet jikes_1.22-2_arm.deb on the web and put in the board but:
>
> :pru_java# apt-get install jikes_1.22-2_arm.deb
> Reading Package Lists... Done
> Building Dependency Tree... Done
> E: Couldn't find package jikes_1.22-2_arm.deb
>
> Should I install cacao or something else instead of using this?
>
>
You're using apt-get wrong. Apt-get takes (install LOGICALNAME) or a
whole slew of other things. What you want is
dpkg -i (filename)

Also, out of pure curiosity, does the TS box have a connection to the
net? If so, sounds like you need to make sure you can ping
ftp.us.debian.org


¡Windows Phone ya está aquí! Mucho más que un teléfono. ¡Hazte con uno!

__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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