ts-7000
[Top] [All Lists]

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

To:
Subject: [ts-7000] Re: Instructions for Java 1.5 on Debian?
From: "jame1002004" <>
Date: Thu, 05 Mar 2009 04:09:38 -0000
--- In  Jason Stahls <> wrote:
>
> jame1002004 wrote:
> > Hello,
> >
> > I am running debian sarge in ts11; I apt-get the following.
> > apt-get install jikes
> > apt-get install jamvm
> > apt-get install jikes-classpath
> >
> > but when I tried to run a program Hello.java using the following command:
> > "java Hello"
> >
> > ava.lang.NoClassDefFoundError: Hello
> >    <<No stacktrace available>>
> >
> >
> > I also tried "jamvm Hello.java", about the same error occurs.
> >
> > java.lang.NoClassDefFoundError: Hello/java
> >    <<No stacktrace available>>
> >
> >
> > Any ideas?
> 
> Doesn't look like you compiled your source.  Java is not a interpreted 
> language like JavaScript and must be compiled beforehand into a binary 
> file.  Not sure if those packages include the compiler or not, but the 
> Sun one is called javac, try that and see if it runs.
> 
> -- 
> Jason Stahls
>

I'm not sure if javac works or not, when I ran it, nothing happened. I am 
wondering if I am missing some library files or header files. Do you know where 
should I put the header files?

Thanks,




------------------------------------

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