I'd like to run multicraft on one of my servers.
After some intensive debugging/installing I realised the server didn't yet have a Java Runtime Environment. I figured it would be easy to install, but that is where is was wrong.
sudo apt-get install sun-java6-bin sun-java6-jre sudo: apt-get: command not found
So I figured I had to get the installer through wget
but I couldn't find an URL to do so.
My Linux version is:
version 2.6.18-194.8.1.el5.028stab070.4PAE
root@rhel5-build-x32
gcc version 4.1.2 20080704
Red Hat 4.1.2-46
So how do I install Java on Linux through the shell without apt-get
?
When I try yum
:
yum install sun-java6-bin sun-java6-jre
Determining fastest mirrors *** removed bits here ***
Excluding Packages in global exclude list
Finished Setting up Install Process
No package sun-java6-bin available.
No package sun-java6-jre available.
Loaded plugins: fastestmirror
Nothing to do
apt-get
oraptitude
(for instance CentOS & Redhat useyum
).