Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-06-2003, 02:57 PM   #1
Member (7 bit)
 
cypher1919's Avatar
 
Join Date: Jan 2003
Posts: 89
Question java probs

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.
cypher1919 is offline   Reply With Quote
Old 02-06-2003, 04:31 PM   #2
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
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.
doctorgonzo is offline   Reply With Quote
Old 02-07-2003, 11:19 PM   #3
Member (7 bit)
 
cypher1919's Avatar
 
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

. 07-17-00 12:46p .
.. 07-17-00 12:46p ..
CLASSES 07-17-00 12:46p CLASSES
PACKAGES 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
cypher1919 is offline   Reply With Quote
Old 02-17-2003, 11:22 AM   #4
Member (11 bit)
 
piasabird's Avatar
 
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
piasabird is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:29 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2