-   Linux - General (
-   -   Installing Sun JDK (

naiveguy 04-16-2006 09:34 AM


Hello there people: I have one little question which hopefully, will not cause one and all to go scurrying away in the light of my profound ignorance.

If one downloads the JDK from Sun into Suse Linux 9.3 well,....WHERE does one put it? The Desktop? In the bin? In the Fridge next to the Milwaukee's Best??

My thanks.

One helluva niave kinda-guy

XavierP 04-16-2006 10:10 AM

naiveguy - I have split your post off and put it into it's own thread.

Welcome to LQ :D

If you get the JDK in an rpm file, save it to your /tmp folder, /home folder or wherever and then install it. It will put itself into the right places.

mimithebrain 04-17-2006 03:15 PM

If you use the self-extracting bin, my favorite:

copy it to your home folder
open a console (konsole, or gnome-terminal)
become root (sudo -s (ubuntu), or su)
make a java folder (mkdir /usr/java)
copy it over to that folder (cp file.bin /usr/java)
move to that dir (cd /usr/java)
make it executable (chmod +x file.bin)
run it ( ./file.bin)
then, make symlinks of all the files in /usr/java/jdk/bin/ to /usr/bin
(you can use mc or ln -s to do that... my favorite being mc)

All times are GMT -5. The time now is 05:10 AM.