FG
💻 Software

Multiple Java environment on the same Linux machine

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

Problem

What's is the most efficient way to install multiple concurrent Java JDK versions on the same Linux machine? I need Java5 whilst my current Ubuntu 9.10 Karmic comes loaded with Java6. I know I could setup a VM for this but I am looking for alternatives.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Multiple Java environment on the same Linux machine

Low Risk

If you download the linux binary from Sun you can install it in whatever directory you like. Then just reference those libs in your code, and you're good to go. With the binary installer, it'll create its own named subdirectory (e.g. in your example…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment