How to install Sun Java on Debian?
12,675
Solution 1
Check the following wiki regarding Java installation on Debain:
https://wiki.debian.org/Java/Sun
Solution 2
Try this:
to install Java Development Kit(jdk)
# apt-get install sun-java6-jdk
or the Java runtime environment (jre):
# apt-get install sun-java6-jre
Source: https://wiki.debian.org/Java/Sun
Solution 3
Here's another resource (for Ubuntu) that includes instructions for manually installing Oracle (aka Sun) Java 6 on Ubuntu. I think that the instructions should work for Debian too.
The page also covers other versions of Java.
Author by
Boris Stitnicky
I am a biologist. And a bit of a Ruby programmer.
Updated on June 04, 2022Comments
-
Boris Stitnicky almost 2 years
On current Debian testing, I am unable to install sun-java6 packages. They are not in the repository. Legacy software depends on them, I must install them right now.
-
Boris Stitnicky almost 11 yearsPackage is missing, has been obsoleted, or is only available from another source. However the following packages replace it:
sun-java6-demo
. I guess I'll have to add squeeze back to my sources. -
Boris Stitnicky almost 11 yearsI'll check it shortly. Thanks to everyone for your feedback so far.