Karthik Vishwanath wrote:
>
> Hi all,
> i use magician with Java as on openGl implementation. I
> have the jdk1.1.7 running on Linux RH5.1. Magician requires that i have a
> CLASSPATH set. The current value of my CLASSPATH is:
> /data/karthik/magician/classes. If I compile a program which
On Thu, 21 Jan 1999 14:50:06 +0530 (IST), Karthik Vishwanath wrote:
>Hi all,
> i use magician with Java as on openGl implementation. I
>have the jdk1.1.7 running on Linux RH5.1. Magician requires that i have a
>CLASSPATH set. The current value of my CLASSPATH is:
>/data/karthik/magician/cl
Karthik Vishwanath wrote:
> Hi all,
> i use magician with Java as on openGl implementation. I
> have the jdk1.1.7 running on Linux RH5.1. Magician requires that i have a
> CLASSPATH set. The current value of my CLASSPATH is:
> /data/karthik/magician/classes. If I compile a program which u
a wrote:
> This works:
> javap -classpath $CLASSPATH java.lang.Object
>
> This don't work: (my.class is in same directory)
> javap -classpath $CLASSPATH my.class
> Class 'my.class' not found
try:
javap -classpath $CLASSPATH my
Drop the .class extension. It's looking for a class name, n
Thanks Scot and everyone else. I was calling it with the *.class extension.
Without it it works.
At 04:38 PM 10/29/98 -0500, you wrote:
>OK, where is my.class located? Also, is the java source for my.class
defined in
>terms of a package? Also, are you trying to run my.class like this:
>
>1) ja
This works:
javap -classpath $CLASSPATH java.lang.Object
This don't work: (my.class is in same directory)
javap -classpath $CLASSPATH my.class
Class 'my.class' not found
This don't work:
java -classpath $CLASSPATH my.class
Can't find class my.class
This works:
java -classpath $CLASSPATH java.la
>
> Here is my CLASSPATH that is not working
>
> CLASSPATH=.:/usr/local/jdk116_v5/lib/classes.zip:/usr/local/jdk116_v5/lib:/u
> sr/local/jdk116_v5/lib/moreClasses:/usr/local/apache1.3.3/share/j-bin
Did you remember to EXPORT your path?
M.
Here is my CLASSPATH that is not working
CLASSPATH=.:/usr/local/jdk116_v5/lib/classes.zip:/usr/local/jdk116_v5/lib:/u
sr/local/jdk116_v5/lib/moreClasses:/usr/local/apache1.3.3/share/j-bin
At 04:11 PM 10/29/98 -0500, Martin Little wrote:
>This is indicitive that you don't have your /lib/classes.