FG
💻 Software

Install Java on Ubuntu/Linux

Fresh5 days ago
Mar 15, 2026454 views
Confidence Score0%
0%

Problem

I am a windows user, and wonder how do I go about installing java on Ubuntu (VirtualBox) I have tried got couldnt find package got sun-java6-jre has no installation candidate I also tried the .bin file: Seems like it has done its things without errors, but gives the program 'java' can be found in t…

Error Output

sudo apt-get install sun-java6-bin

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Install Java on Ubuntu/Linux

Low Risk

Sun Java has been moved to the Partner repository in Ubuntu 10.04 (Lucid Lynx). Add the repository by doing this: Then you can do:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment