[4484] in java-interest
Re: dumping bytecodes
daemon@ATHENA.MIT.EDU (Arthur van Hoff)
Tue Jan 2 18:11:26 1996
Date: Tue, 2 Jan 1996 13:30:49 -0800
From: Arthur.Vanhoff@Eng.Sun.COM (Arthur van Hoff)
To: Joan_Eliyesil/CAM/Lotus.LOTUS@crd.lotus.com
Cc: java-interest@java.Eng.Sun.COM
Hi Joan,
> I tried this as follows:
>
> cd \java\lang
> javap -c thread
>
> I get the message "Can't find class thread"
>
> ... even though thread.cla is right there (in \java\lang).
>
> The same thing happens when I try to execute the compiler; I get "cannot find
> class
> java/lang/Thread".
>
> Am I missing something basic?
You need to specify the full class name which is "java.lang.Thread".
For example:
javap -c java.lang.Thread
If it still can't find it you need to make sure that you set your CLASSPATH
environment variable so that javap can find the class.
Have fun,
Arthur van Hoff
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com