[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
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Nov 19, 2017 07:30:56.