[SOLVED] How do I install Java Virtual Machine on Kubuntu 9.04?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
sudo update-java-alternatives -s java-6-sun
Run java -version to ensure that the correct version is being called
Then about:plugins in Firefox should show something like:
Java(TM) Plug-in 1.6.0_14
File name: /usr/lib/jvm/java-6-sun-1.6.0.14/jre/lib/i386/libnpjp2.so
sudo apt-get install ubuntu-restricted-extras will give you java and all the multimedia plugins.
It stated 2 ways to choose the default Java:
The one I used the first time was: Run sudo update-alternatives --config java
That gave me choices to choose from.
I guess the way you showed me was better.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.