While XBMCbuntu comes with OpenJDK pre-installed you may need to install the Sun Java JRE for some apps(like minecraft) to function correctly. To install sun-java6-jdk in XBMCbuntu SSH into your XBMCbuntu box and run the following:
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin
During the install you will be prompted to agree to the java terms of service(hit Tab to highlight the ok button)
If you want to make Sun Java the default java for your system run this command:
sudo update-alternatives --config java
Alternatively if you want to leave OpenJDK as the default but run specific programs with Sun's java then run:
/usr/lib/jvm/java-6-sun/jre/bin/java
Note: if you are still using the older XBMCLive Dharma you can follow this guide to install java
And that's it, have fun!
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin
During the install you will be prompted to agree to the java terms of service(hit Tab to highlight the ok button)
If you want to make Sun Java the default java for your system run this command:
sudo update-alternatives --config java
Alternatively if you want to leave OpenJDK as the default but run specific programs with Sun's java then run:
/usr/lib/jvm/java-6-sun/jre/bin/java
Note: if you are still using the older XBMCLive Dharma you can follow this guide to install java
And that's it, have fun!
No comments:
Post a Comment