PDA

View Full Version : [ubuntu] [SOLVED] Java problems in Ubuntu Hardy



TriggerIsHappy
September 30th, 2008, 09:19 PM
I'm trying to install Frostwire and it won't load after the install. It keeps telling me that i need to upgrade my Java to 1.5.x or so and I've done this. It still won't work. Help please

Trigger

Crafty Kisses
September 30th, 2008, 10:16 PM
What are the results of this command?

java --version

TriggerIsHappy
September 30th, 2008, 10:39 PM
eric@Eric:~$ java --version
The program 'java' can be found in the following packages:
* java-gcj-compat-headless
* openjdk-6-jre-headless
* cacao
* j2re1.4
* kaffe
* jamvm
* gij-4.1
* gij-4.2
* sablevm
Try: sudo apt-get install <selected package>
bash: java: command not found

WWSmith36
September 30th, 2008, 10:42 PM
To instal java


sudo aptitude update
sudo apt-get upgrade
sudo aptitude install sun-java6-bin sun-java6-jre sun-java6-plugin

TriggerIsHappy
September 30th, 2008, 11:58 PM
Thanks, WWSmith36. That did the trick.