Results 1 to 3 of 3
I have installed j2sdk1.4.2_08, but javac will not compile my programs. I type
Code:
javac source.java
but all it does is display the options for javac, no matter whether the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-10-2005 #1Just Joined!
- Join Date
- Mar 2005
- Posts
- 45
java compiler will not compile
I have installed j2sdk1.4.2_08, but javac will not compile my programs. I type
but all it does is display the options for javac, no matter whether the source.java file existed or not.Code:javac source.java
Even if I did
the results were the same.Code:javac ./source.java
Any ideas would be appreciated.
Thanks,
mr.popper[/code]
- 06-10-2005 #2Just Joined!
- Join Date
- Mar 2005
- Posts
- 25
Why you install j2sdk1.4.2_08?
Install jdk-1_5_03-nb-4_1-linux.bin
Make sure you have execute permissions on the file (Chmod 755)
then just do ./jdk-1_5_03-nb-4_1-linux.bin
Go to http://java.sun.com/j2se/1.5.0/download-netbeans.html for the file.
It is the first one, it ok just do it even if you do not want net beans ^^
Please just try it mr.popper because I know how you can be *wink wink*
Tell me if this works I will try it on my own computer.
- 06-14-2005 #3Just Joined!
- Join Date
- Jun 2005
- Posts
- 4
Is javac in your path ??
When i first put java on my computer and then tried to run limewire it wouldent work untill i set JAVA_HOME
HOPE THIS HELPS


Reply With Quote
