[java] How to install java on linux

Started by
12 comments, last by jolyqr 17 years, 6 months ago
He is right, no other package management software may be running - only one "thread" can update the system at any given time.

And, if you're not root, you'll need the "sudo" command prior to the rest of the command, as in "sudo apt-get update". Sudo means "Super User Do", and grants you temporarily super user priviledges while executing a command in the terminal.
a.k.a javabeats at yahoo.ca
Advertisement
Quote:Original post by Son of Cain
Also, you'll want to create a symbolic link to the new JDK:

cd /usr/bin
unlink java
ln -s /opt/jdk1.6/bin/java java



Actually I assume it's a bit more polite to use update-alternatives on the links in /etc/alternatives ... :)
Oh, thanks.. I'm quite fresh on Linux myself :D
a.k.a javabeats at yahoo.ca
Thank you every body, it works now. By the way, I'm struggling to find good codecs. Baically I have installed xine and followed instructions of this link to install multimedia codecs :


http://ubuntuguide.org/wiki/Dapper#How_to_install_Multimedia_Codecs


I cannot read mp3, asx and avi files

I've got no sound when reading mpe, mpeg, mpg, asf, and wmv files

Cheers

This topic is closed to new replies.

Advertisement