Technology Programming

How to Install Java in Ubuntu 8.04

    • 1). Start your computer and log in to Ubuntu. Click the "Applications" menu at the top of the screen, then click "Accessories" and "Terminal." The terminal will appear.

    • 2). Type "sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts" and press "Enter." Omit the quotation marks at the beginning and end of the command.

    • 3). Enter the administrator password for Ubuntu and press "Enter." Ubuntu will display a final confirmation of the amount of data that needs to be installed and how much hard drive space will be consumed by the procedure.

    • 4). Press "Y," then "Enter." After all packages are downloaded, the license agreement for Sun Java will appear. If you agree to the terms, press the "Tab" key to highlight "OK" and press "Enter."

    • 5). Highlight "Yes" and press "Enter." The downloaded packages will install. When this process is complete, you are returned to the terminal prompt.

    • 6). Type "java -version" and press "Enter." The current version of Java will display showing that the packages were installed properly. Close the terminal window to resume using your computer.

Leave a reply