Re: Trouble running JDK-1.1.6


Peter Petrakis (peterpan@wn.net)
Sat, 23 Jan 1999 11:41:02 -0500


> > [> > [root@alphagen bjava]# java Welcome.java
> > Unable to initialize threads: cannot find class java/lang/Thread
>
> What if you try:
>
> java -classpath /usr/local/jdk-1.1.6/lib/classes.zip:. Welcome.java

I get the same error as above when I do that. When I change it to javac
with the same arguments
 i get this. The path is correct to

Welcome.java:7: Method drawstring(java.lang.String, int, int) not found
in class java.awt.Graphics.
        g.drawstring( "Welcome to Java programming!", 25,25 );
                    ^
1 error
[[root@alphagen bjava]# javac -classpath
/usr/local/jdk-1.1.6/lib/classes.zip
elcome.java
Welcome.java:1: Class java.applet.Applet not found in import.
import java.applet.Applet;
       ^
Welcome.java:2: Package java.awt not found in import.
import java.awt.*;
       ^
Welcome.java:4: Superclass java.applet.Applet of class Welcome not
found.
public class Welcome extends Applet {
                             ^
3 errors

> > Peter Petrakis
> >
> > --
> > STCC DEC Alpha Resource Page
> > http://math.stcc.mass.edu/petrakis
> > PeterPan@wn.net AlphaGuy =)
> > "BLAM! Who the hell are you!? Name's Ash <click clock> Housewares..."
> >
> > --
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
> --
> Rich Payne
> www.alphalinux.org
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com

-- 
STCC DEC Alpha Resource Page
http://math.stcc.mass.edu/petrakis
PeterPan@wn.net  AlphaGuy =)
"BLAM! Who the hell are you!? Name's Ash <click clock> Housewares..."

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



This archive was generated by hypermail 2.0b3 on Sun Jan 24 1999 - 14:47:52 PST