• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Having a HUGE problem compiling

 
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
 
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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!