permaculture playing cards*
The moose likes Beginning Java and the fly likes how to compile java prog (there is only one dos not xp,98 ...any)? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to compile java prog (there is only one dos not xp,98 ...any)?" Watch "how to compile java prog (there is only one dos not xp,98 ...any)?" New topic
Author

how to compile java prog (there is only one dos not xp,98 ...any)?

rutuparna andhare
Greenhorn

Joined: Oct 29, 2009
Posts: 14
there is only one dos(disk operating system)?

classpath is set.
when i say javac first.java --->it says javac not recognised command

what to do in this situation
Harpreet Singh janda
Ranch Hand

Joined: Jan 14, 2010
Posts: 317

You should add java home to your DOS path

Means if you have java installed on C:\java

then C:\java\bin should be added to PATH

Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37865
    
  22
Find the "common problems" page in this Tutorial.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Do you have Java installed?

(Is there even a Sun-based Java for DOS-only systems any more?)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to compile java prog (there is only one dos not xp,98 ...any)?
 
Similar Threads
Compiling java files in different packages with single javac command
Compilation errors scrolling off the screen
Autoboxing question
Java On DOS Platform : Urgent
java.io.File.exists() -- bug???