> BTW - Does anyone know why Sun makes javac use filename.java and java use
> filename with no .class extension?
Because some may want to name .java files differently, like .jav
And you may not necesseraly have .class file - class may be part of .zip
or .jar file.
Alex Y.
--
To UNSUBSCRIBE, ema
> I installed all the important parts of the JDk 1.02 (at least all the
> parts that were at the ftp server).
> My CLASSPATH is set to .:/usr/lib/jdk/classes.zip but when ever I do
> java ???.class it says it can't find the class.
>
> Can you help?
Just do "java ???" (without .class) and everythi
Java just uses the class name, if you add a ".class" extension it won't work.
Hope that helps.
Timothy.
BTW - Does anyone know why Sun makes javac use filename.java and java use
filename with no .class extension?
On 02-Apr-98 Liran Zvibel wrote:
> Hello!
>
> I re-subscribed (and remembered why
Hello!
I re-subscribed (and remembered why I unsubscribed - in 10 min. I had 7
msgs in my spool...).
I installed all the important parts of the JDk 1.02 (at least all the
parts that were at the ftp server).
My CLASSPATH is set to .:/usr/lib/jdk/classes.zip but when ever I do
java ???.class it say
4 matches
Mail list logo