The eBay Song | Loans | MPAA | Problem Mortgage | Loans
java probs [Archive] - PCMech Forums

PDA

View Full Version : java probs


cypher1919
02-06-2003, 03:57 PM
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.

doctorgonzo
02-06-2003, 05:31 PM
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.

cypher1919
02-08-2003, 12:19 AM
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

. <DIR> 07-17-00 12:46p .
.. <DIR> 07-17-00 12:46p ..
CLASSES <DIR> 07-17-00 12:46p CLASSES
PACKAGES <DIR> 07-17-00 1:10p 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

piasabird
02-17-2003, 12:22 PM
Maybe you did not set the path. Do that in the path statement in Autoexec.bat