[Logo]
Forums Register Login
how do i compile this
i can't get this to compile. It is in C:\javastuff\MyFirstApp.java

i type this in run in winxp "javac C:\javastuff\MyFirstApp.java"



help please


Thanks
"public class MyFistApp" should be "public class MyFirstApp"
Dear Neill Killgore
See JDK and classpath.
I used to:
c:\bt set path = JDK path;

c:\bt javac File.java
After I changed the class name, I had no problem compiling it. Classpath is not relevant to compiling this class.
Thanks

This thread has been viewed 458 times.

All times above are in ranch (not your local) time.
The current ranch time is
Oct 20, 2018 00:13:20.