|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
Join Date: Jan 2003
Posts: 89
|
i've been trying to start programming java and i keep getting
a bad command file. i saved my java program i was compiling in c:\windows\java... is that the wrong file or have i got it right? i'm probally just missing something simple. |
|
|
|
|
|
#2 |
|
Professional gadfly
|
Do you have the directory the compiler is in in your system path? Go to a command prompt and type "SET PATH". It will print out the value of that variable. If the director where the java compiler is not listed, you have to add it. How you do so depends on the version of Windows you are using.
|
|
|
|
|
|
#3 |
|
Member (7 bit)
Join Date: Jan 2003
Posts: 89
|
heres what im getting ....C:\>cd windows\java
C:\WINDOWS\JAVA>dir Volume in drive C has no label Volume Serial Number is 3E3F-20AA Directory of C:\WINDOWS\JAVA . .. CLASSES PACKAGES HELLOW~1 JAV 289 02-05-03 10:00p HelloWorldApp.java 1 file(s) 289 bytes 4 dir(s) 8,616.63 MB free C:\WINDOWS\JAVA>set path Syntax error C:\WINDOWS\JAVA>"set Path" Bad command or file name oh yeah and i have windows me |
|
|
|
|
|
#4 |
|
Member (11 bit)
Join Date: Mar 2002
Location: Confluence of the Mississippi and Misouri Rivers
Posts: 1,242
|
Maybe you did not set the path. Do that in the path statement in Autoexec.bat
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|