• Post Reply Bookmark Topic Watch Topic
  • New Topic

how do i compile this  RSS feed

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"public class MyFistApp" should be "public class MyFirstApp"
 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Neill Killgore
See JDK and classpath.
I used to:
c:\bt set path = JDK path;

c:\bt javac File.java
 
Sheriff
Posts: 9087
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After I changed the class name, I had no problem compiling it. Classpath is not relevant to compiling this class.
 
Neill Killgore
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
And will you succeed? Yes you will indeed! (98 and 3/4 % guaranteed) - Seuss. tiny ad:
The WEB SERVICES and JAX-RS Course
https://coderanch.com/t/690789/WEB-SERVICES-JAX-RS
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!