• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Having a HUGE problem compiling

 
Anthony Duncan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Java SDK 1.3, and I am using a tutorial bookto tell me what to do. In the book it tells me to compile Saluton.java by tyipng, when in directory "javac Saluton.java" without the speechmarks though. When I do this however I get an error message saying "Bad command or file name"
What am I doing wrong? I have installed SDK version 1.3.0_02
Please help
Thanks
 
Ramesh Phankir
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have you set up your PATH & CLASSPATH ?
 
Anthony Duncan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, what do I have to do to do that
 
Ramesh Phankir
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WIndows NT 4.0
1.Double click on MyComputer icon
2.Click on Control-Panel icon
3.Double click on System icon
4.Click the Environment tab
5.Under the user variables set Path=c:\java_home(where you installed java)\bin;%PATH%
6.Set ClassPath=c:\java_home\lib;.;(or the classpath specified by the product you want to install)
 
Anthony Duncan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, that seems to have done the trick
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic