How To Install Java on Xubuntu

Xubuntu, a derivative mix between Xfce and Ubuntu, is an operating system for Linux users, which is very similar to both in many ways. An example would be Xubuntu shares the repositories of the latter, as well as its download manager. Also, instead of GNOME (GNU Network Object Model Environment), the Ubuntu’s graphical user interface or desktop environment, it now uses Xfce, which acts as a lighter version of GNOME, but is still an attractive and decent choice for Linux users. Ubuntu is known for being user-friendly, as well as allowing easy installations, and since the two operating systems are almost practically the same, it is also quite easy to install programs into Xubuntu—with one such program being the Java runtime package series, which makes it possible to use applications which can only be run by the Java software. This is important, as many things in the Internet are run by Java, and you would be missing out on many things if you decide not to have it installed. This article will help make it easier for you to install the Java program into the Xubuntu operating system. Of course, it is very important that you own a Linux that uses Xubuntu as its operating system, as well as have a steady Internet connection, which is needed to download and install Java and to avoid any possible complications. If even one of these factors is missing, then this guide will not work as it should.

Once you have everything ready, here is a step by step process designed so you can read and follow instructions to installing Java on Xubuntu below:

  • First, on the main Xubuntu window, search for and select the ‘Accessories’ sub-menu, and then click on ‘Terminal’ from the list.
  • Next, type down ‘sudo apt-get sun-java6-jre sun-java6-plugin sun-java-fonts’ in the terminal window, and press ‘Enter’. The Sun Java Licensing Agreement window should appear, after which you should select ‘Yes’ to accept it, and hit ‘Enter’ again to begin installing Java and anything else that may be required to running it.
  • Once the installation has finished, go back to the terminal window, type ‘java –version’ and press ‘Enter’. If you have followed the steps to the letter and correctly installed it, then it should show this: ‘java version 1.6.0_10, Java(TM) SE Runtime Environment (build 1.6.0_10-b33), Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)’. If this does not appear, then you should repeat steps one and two. If this does show however, you can now close the terminal window.
  • Finally, to see if you really do have Java installed and running, you can open the Sun Java test page. Wait for everything to load, and if Java is working on your computer, then a cartoon character will move across the screen—indicating a healthy install. It will also show your vendor, as well as the Java version you currently have. If by the off chance that it does not show the animated character, then perhaps you just need to restart your computer, as most programs require this to be done before they can work properly.

Despite how easy it is to install Java in Xubuntu, you should still be proud for properly accomplishing this task. It is proof that you are well-versed in your operating system.


Share this article!

Follow us!

Find more helpful articles: