I am attempting to install Java JRE1.5 on my Ubuntu system however am having some problems finding the packages...
As it stands right now:
Code:
root@tank:~# java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-14ubuntu7)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
However I am looking for the official Sun Java JRE 1.5 so I am looking at this guide:
https://help.ubuntu.com/community/Java
It explains that I need to add some repos to my source.list which I attempted to do:
I added the following to /etc/apt/sources.list
Code:
deb http://archive.ubuntu.com/ubuntu dapper-security universe multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper-security universe multiverse
deb http://archive.ubuntu.com/ubuntu dapper-updates universe multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper-updates universe multiverse
I then did an apt-get update and looked for the following:
Code:
root@tank:~# apt-get install sun-java5-jre sun-java5-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java5-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java5-jre has no installation candidate
Any advice?