aspose file tools*
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 Spring in Action this week in the Spring 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: 39409
    
  28
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?)
 
jQuery in Action, 2nd edition
 
subject: how to compile java prog (there is only one dos not xp,98 ...any)?