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-12-2003, 03:03 PM   #1
Member (7 bit)
 
cypher1919's Avatar
 
Join Date: Jan 2003
Posts: 89
Question java compile

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
cypher1919 is offline   Reply With Quote
Old 02-12-2003, 03:37 PM   #2
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
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.
doctorgonzo is offline   Reply With Quote
Old 02-12-2003, 04:39 PM   #3
Member (7 bit)
 
cypher1919's Avatar
 
Join Date: Jan 2003
Posts: 89
10/4 i'll post again, and tell ya how it goes thanx
cypher1919 is offline   Reply With Quote
Old 02-14-2003, 10:15 AM   #4
Member (11 bit)
 
piasabird's Avatar
 
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.
piasabird is offline   Reply With Quote
Old 02-14-2003, 10:16 AM   #5
Member (11 bit)
 
piasabird's Avatar
 
Join Date: Mar 2002
Location: Confluence of the Mississippi and Misouri Rivers
Posts: 1,242
I dont remember if Java uses a bin folder.
piasabird is offline   Reply With Quote
Old 02-16-2003, 12:28 PM   #6
aym
Registered User
 
aym's Avatar
 
Join Date: Nov 2001
Posts: 1,965
yes, javac and the others are located in the "bin" folder.
aym is offline   Reply With Quote
Old 02-17-2003, 06:50 PM   #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.
Lynx4Ben 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:30 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2