|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
Join Date: Jan 2003
Posts: 89
|
i guess im still lost...i still can't seem to figure out whats wrong.
i have like 4 different java files on my c: drive, which one do i use to compile in dos? 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 |
|
|
|
|
|
#2 |
|
Professional gadfly
|
javac.exe is the java compiler. Do a search for it on your PC to make sure you have it, and make note of the location.
|
|
|
|
|
|
#3 |
|
Member (7 bit)
Join Date: Jan 2003
Posts: 89
|
10/4 i'll post again, and tell ya how it goes thanx
|
|
|
|
|
|
#4 |
|
Member (11 bit)
Join Date: Mar 2002
Location: Confluence of the Mississippi and Misouri Rivers
Posts: 1,242
|
why not just read the documentation from SUN.
Java for windows is not DOS BASED. I realize this is ambiguous but you have to be in windows to make it work. You may have to update your path statement and add an environment statement in C:\Autoexec.bat. If you read the info that came with the Java SDK, there should be some instructions to get it set up. I think the BIN folder actully is used for the compiler. It is possible to use a floppy and compile your programs on the floppy with a batch file and make the source, the compiled classes and the output go to 3 different folders. |
|
|
|
|
|
#5 |
|
Member (11 bit)
Join Date: Mar 2002
Location: Confluence of the Mississippi and Misouri Rivers
Posts: 1,242
|
I dont remember if Java uses a bin folder.
|
|
|
|
|
|
#6 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
yes, javac and the others are located in the "bin" folder.
|
|
|
|
|
|
#7 |
|
Member (7 bit)
Join Date: Oct 2002
Posts: 82
|
Make sure you downloaded tghe SDK Software Development Kit not just the runtime envioroment. This can be confusing when you download from the sun site. I am not sure what the other package is called but you won't get the compiler and other apps.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|