File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Having a HUGE problem compiling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Having a HUGE problem compiling" Watch "Having a HUGE problem compiling" New topic
Author

Having a HUGE problem compiling

Anthony Duncan
Greenhorn

Joined: Apr 21, 2001
Posts: 3
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

Joined: Apr 21, 2001
Posts: 4
have you set up your PATH & CLASSPATH ?
Anthony Duncan
Greenhorn

Joined: Apr 21, 2001
Posts: 3
No, what do I have to do to do that
Ramesh Phankir
Greenhorn

Joined: Apr 21, 2001
Posts: 4
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

Joined: Apr 21, 2001
Posts: 3
Thanks, that seems to have done the trick
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Having a HUGE problem compiling
 
Similar Threads
Browser problems
JavaME SDK 3.0 storage capacity
Develop an iPhone application with Base SDK 3.0
oracle has got me by my sdk prefs
How to access a JSP Page-Urgent