Author |
Message |
1337_brad
|
Posted: Sat Feb 12, 2005 6:16 pm Post subject: Simple Java compiler |
|
|
Hey, I have Borland JBuilder but I can't get the reg key to work, but I want to brush up on my Java skills. So I was just wondering if anyone knew of a good easy java compiler I could use until I get Jbuilder working? Any suggestions would be apreciated. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
wtd
|
Posted: Sat Feb 12, 2005 6:20 pm Post subject: (No subject) |
|
|
Grab the standard Java Development Kit from Sun's site and use it via the command-line. |
|
|
|
|
|
Hikaru79
|
|
|
|
|
1337_brad
|
Posted: Sat Feb 12, 2005 6:35 pm Post subject: One problem |
|
|
Only thing is when I do that I can never get it to work, so I will try and if I have problems hopefully one of you can help me <3. What usually happens is I try to Javac something and the thing says It can't find the program Javac because it is not in the same directory as the file I am compiling is... my uncle once set it up so I could get around that but my comp crashed and I forgot how he did it =/ |
|
|
|
|
|
wtd
|
Posted: Sat Feb 12, 2005 6:40 pm Post subject: (No subject) |
|
|
Windows 98 or ME?
You'll probably have to manually add the directory that holds the Java binaries to your PATH. Do this by editing C:\autoexec.bat to include:
code: | set PATH=%PATH%;C:\Path\To\Java\Binaries |
|
|
|
|
|
|
1337_brad
|
Posted: Sat Feb 12, 2005 6:46 pm Post subject: well... |
|
|
I have windows XP =/ |
|
|
|
|
|
wtd
|
Posted: Sat Feb 12, 2005 6:49 pm Post subject: (No subject) |
|
|
Ok. You installed the JDK from Sun's site, right? The one that came with the Borland software is probably a tad weird.
Anyway, open a command prompt window and type "path" and hit enter. What do you see? |
|
|
|
|
|
rizzix
|
Posted: Sat Feb 12, 2005 6:53 pm Post subject: (No subject) |
|
|
it is also a good idea to set the JAVA_HOME and CLASSPATH variables.. some applications require these variables set. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
1337_brad
|
Posted: Sat Feb 12, 2005 6:59 pm Post subject: Path |
|
|
When path is entered in a command prompt I get these paths:
c:\Windows\system32
c:\windows
c:\windows\system32\Wbem |
|
|
|
|
|
wtd
|
Posted: Sat Feb 12, 2005 7:12 pm Post subject: (No subject) |
|
|
In Windows 2000 it was Start -> Settings -> Advanced to set environment variables. Not sure where that is in XP. |
|
|
|
|
|
1337_brad
|
Posted: Sat Feb 12, 2005 7:14 pm Post subject: (No subject) |
|
|
It is in same place, but I tried that and it didn't seem to work... can you tell me exactly what I have to do incase I did something wrong the last time? |
|
|
|
|
|
wtd
|
|
|
|
|
1337_brad
|
Posted: Sat Feb 12, 2005 7:32 pm Post subject: Thanks alot man |
|
|
Hey, thanks alot man! =) |
|
|
|
|
|
wtd
|
Posted: Sat Feb 12, 2005 7:38 pm Post subject: (No subject) |
|
|
Happy to help. |
|
|
|
|
|
|