Run System-->>Administration-->>Synaptic Package Manager
(if it ask for passwd enter your sudo passwod)
In Synaptic Package Manager
select Settings-->>Repositories
in ubuntu software tab select first FOUR options
(main, universe, restricted, multiverse)
select Third-party Software tab and
tick first option ( http://archive.canonical.com/ubuntu hardy partner)
and close it
Press reload button
after reloading the list
select search and type sun java
select sun-java6-bin, sun-java6-fonts, sun-java6-jdk, sun-java6-jre,
sun-java6-plugin (don't select sun-java6-doc it will make some problem)
then select apply
To work your browser plugins
Just installing new Java flavours does not change the default Java pointed to by /usr/bin/java. You must explicitly set this:
- Open a Terminal window
Run sudo update-java-alternatives -l to see the current configuration and possibilities.
Run sudo update-java-alternatives -s XXXX to set the XXX java version as default. For Sun Java 6 this would be sudo update-java-alternatives -s java-6-sun
Run java -version to ensure that the correct version is being called.
No comments:
Post a Comment