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