• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
rutuparna andhare
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 317
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 50168
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Find the "common problems" page in this Tutorial.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have Java installed?

(Is there even a Sun-based Java for DOS-only systems any more?)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic