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

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

This thread has been viewed 390 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jan 23, 2018 01:11:52.