installing java

Asked by Crudesaider2

i use ubuntu and want to know what type of file to use and how to install

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dean Sas (dsas) said :
#1

Run the "add/remove programs" application
Ensure "Show:" at the very top of the program is on "all available applications"
search for "java plugin"
Click the checkbox next to "Sun java 6.0 plugin"
Press "Apply changes" to install

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

How to install Java

To install sun-java6

Please first enable the multiverse repository:

Open System → Administration → Software sources → [ Tab Ubuntu software ]
enable "Software restrictecd by copyright or legal issue ( multiverse )"
Close and confirm the repository reload.

Then open a Terminal from the menu Applications → Accessories → Terminal and type:

sudo aptitude update
sudo apt-get upgrade
sudo aptitude install sun-java6-bin sun-java6-jre sun-java6-plugin

give your user password when requested, you don't see nothing when you type it, then press enter.

and then select this as your default java jre with

sudo update-java-alternatives

Hope this helps

Revision history for this message
mahesh (itsmahesh2u) said :
#3

how to install multiverse and universe repositories

Can you help with this problem?

Provide an answer of your own, or ask Crudesaider2 for more information if necessary.

To post a message you must log in.