How Do You Download And Install Java With Fresh Ubuntu 10.10

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
m3t
New to forums
New to forums
Posts: 4
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Jan 17, 2011 6:08 pm

How Do You Download And Install Java With Fresh Ubuntu 10.10

Post by m3t »

Thaaanks
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: How Do You Download And Install Java With Fresh Ubuntu 1

Post by kraze »

I do not know to much about Ubuntu but isn't it just another OS? If so I would assume that you would connect to your server and download it through a browser..? Again I am not to sure.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: How Do You Download And Install Java With Fresh Ubuntu 1

Post by Edge100x »

With Ubuntu, you'd need to run a command like this (as root) to install java:

Code: Select all

apt-get install sun-java6-jre
MarS
A semi-regular
A semi-regular
Posts: 26
Joined: Sun Jan 16, 2011 2:48 am

Re: How Do You Download And Install Java With Fresh Ubuntu 1

Post by MarS »

If you want to download the Sun java, you will have to un-comment some lines in the sources file to enable partner repositories. Otherwise the apt-get will only find the Open-jdk. This is what I had to do for both my VPS and now my full machine with ubuntu 10.4. I'd post exact steps but I dont remember them lol, I'm sure edge can fill you in :P
Post Reply