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.
I am going to test your electrical conductivity with this tiny ad:
Thread Boost - a very different sort of advertising

This thread has been viewed 414 times.

All times above are in ranch (not your local) time.
The current ranch time is
Apr 22, 2018 17:54:01.