PDA

View Full Version : [ubuntu] having trouble installing java



meomike2000
October 2nd, 2008, 05:04 AM
i have version 8.04.1 desktop. i am trying to install java for the firefox web browser. can anybody help me with that please.

i have went to java and downloaded the self extracting file and tried to install it per the directions on java site.

tia.....

blingo
October 2nd, 2008, 07:26 AM
You can use the package manager.

Take a look at

https://help.ubuntu.com/community/Java

I've chooesed to use the Sun version,
Note there's a special package for browser support in the package manager.

After

update-java-alternatives -l

I got to see both Sun and something else,
than I've uninstalled the other thing, so when I write

update-java-alternatives -l
I only see:

java-6-sun 63 /usr/lib/jvm/java-6-sun

maruthi_s@infosys.com
October 2nd, 2008, 01:28 PM
Try installing using this command

sudo apt-get install sun-java6-jdk

joey-elijah
October 2nd, 2008, 04:47 PM
that helped me upgrade my java! thanks!

meomike2000
October 3rd, 2008, 05:02 AM
thank you. i did it from the site instructions and i was able to get it to work.....

i did not know that there was more than one firefox directory and was puting the plugin in the wrong one.

but thank u for the shortcut. that will help in the future.