Monday, July 27, 2009

Tell me how to install Java on my computer that has ubuntu on it ?

When I needed a firewall someone just gave me a code thing that I copied in the terminal thing and it was installed automatically.





Is there a code like that for installing Java?





Yahoo games and some other sites say that I need to install that and when i go to the Java website it doesn't install.

Tell me how to install Java on my computer that has ubuntu on it ?
Installing Sun Java on Ubuntu


https://jdk-distros.dev.java.net/ubuntu....





Installing Java on Ubuntu Linux


http://www.javalobby.org/java/forums/t72...





**I see in the links that they say java5, it's 6 now.
Reply:Open a terminal and run this command:





sudo apt-get install sun-java5-jre sun-java5-plugin sun-java5-fonts





Providing you have universe and multiverse repo's enabled.





After which test your install with:





java -version





You should get some java output similar to this:





java version "1.5.0_08"


Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)


Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing)

plants

No comments:

Post a Comment