Most distributions have it in their repositories. Usually something like sun-java6-jdk.
Or, you can go to the sun java website and download the jdk from there.
|
|
Tbh i did what tome told me to do go to Add/remove install the sun-java6-jdk then ised a IDE and it works perfect

Well my test server and projects don't work very well with IDE's. I don't know why though
I did the second one. It was easier for me that way. Im not trying to install Java, i need a working compiler for it.
Read above statement

If you are using a Debian-based system (like Ubuntu), then it is as simple as opening a terminal and typing:
That is just installing.Code:sudo apt-get install sun-java6-jdk
After that, you can use the command (after "cd"ing to your server directory, and assuming you have no packaging of your java files)
Or something similar to that (look up javac usage)Code:javac *.java
rest in peace Qemist, Izzy, TeChNo PuNk, Impulser, & bootnecklad| « File writing | php sig generator » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |