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.
30 seconds to difuse a loaf of bread ... here, use this tiny ad:
Rocket Oven Kickstarter - from the trailboss

This thread has been viewed 434 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 20, 2018 16:06:05.