It’s just data

Esse Quam Videri

Simon Phipps: Yes, you can now “apt-get sun-java5-jdk” and have it install without fuss on Debian and Ubuntu.

For some definition of the word now, perhaps.

rubys@rubypad:~$ sudo apt-get -t dapper install sun-java5-jdk
Password:
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package sun-java5-jdk
rubys@rubypad:~$

Presumably this will eventually show up in the multiverse ghetto of Edgy Eft?

Update: After adding Dapper multiverse to etc/apt/sources.list, doing an apt-get update, and correcting the typo in the command above, I now get:

rubys@rubypad:~$ sudo apt-get -t dapper install sun-java5-jdk
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  sun-java5-bin sun-java5-demo sun-java5-jre unixodbc
Suggested packages:
  sun-java5-doc sun-java5-source sun-java5-plugin ia32-sun-java5-plugin
  sun-java5-fonts libmyodbc odbc-postgresql libct1
Recommended packages:
  gsfonts-x11
The following NEW packages will be installed:
  sun-java5-bin sun-java5-demo sun-java5-jdk sun-java5-jre unixodbc
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 44.6MB of archives.
After unpacking 116MB of additional disk space will be used.

Did you update first? If its new to the repo, your local list might be out of date. I just did ‘sudo apt-get update && sudo apt-get install sun-java5-jdk’ on my dapper amd64 box and it worked fine. It might also be in the multiverse, which you would have to add to your sourced.

Posted by Jordan Christensen at

You can find them in dapper multiverse: ;-)

Accepted:
sun-java5 1.5.0-06-1 was ACCEPTED.
Component: multiverse Section: devel

From: https://lists.ubuntu.com/archives/dapper-changes/2006-May/010876.html

Posted by michele at

I noticed that myself a few minutes ago, in Ubuntu’s dapper multiverse.

Posted by David Welton at

With the following in my /etc/apt/sources.list:

deb http://us.archive.ubuntu.com/ubuntu/ dapper main restricted
deb http://us.archive.ubuntu.com/ubuntu/ dapper universe multiverse

I get the following:

rubys@rubypad:/etc/apt$ sudo apt-get update | grep dapper
Get:2 http://us.archive.ubuntu.com dapper Release.gpg [189B]
Hit http://us.archive.ubuntu.com dapper Release
Hit http://us.archive.ubuntu.com dapper/main Packages
Hit http://us.archive.ubuntu.com dapper/restricted Packages
Hit http://us.archive.ubuntu.com dapper/universe Packages
Hit http://us.archive.ubuntu.com dapper/multiverse Packages
rubys@rubypad:/etc/apt$ sudo apt-get install -t dapper install sun-java5-jdk
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package install
Posted by Sam Ruby at

Hi Sam,

is seems you’ve made a typo:

sudo apt-get install -t dapper install sun-java5-jdk

should be:

sudo apt-get -t dapper install sun-java5-jdk

on my system:

$ sudo apt-get -t dapper install sun-java5-jdk
Reading package lists... Done
Building dependency tree... Done
sun-java5-jdk is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.

;-)

Posted by michele at

Thanks, michele!  It works now.  See updated weblog entry.

Posted by Sam Ruby at

Great!

If you need the firefox/mozilla plugin this is into a standalone package: sun-java5-plugin. ;-)

Nice (and much needed) move from sun...

Posted by michele at

Glad you got it working, Sam.

Posted by Simon Phipps at

Red Hat, Sun, Java, ...

I’m disappointed. I’m really disappointed. My fear three days ago that Sun’s new Distro License for Java is not good enough for Red Hat is confirmed in press reports: Brian Stevens, Red Hat CTO (quoted by Gavin Clarke, The Register): According to...

Excerpt from Weiqi Gao's Observations at

It worked for me. My problem was that my install of ubuntu didn’t include dapper in the sources.list. After I did that, it was all good and everything installed just fine.

Posted by Gregory Pierce at

Java is not in the uk repositories why?

Posted by EdwardECL at

As illustrated below, upgrading the JDK still does not work.

adsouza@adsouza-lx1:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

adsouza@adsouza-lx1:~$ apt-cache show sun-java5-jdk
Package: sun-java5-jdk
Priority: optional
Section: multiverse/devel
Installed-Size: 11548
Maintainer: Matthias Klose <doko@ubuntu.com>
Architecture: i386
Source: sun-java5
Version: 1.5.0-06-1
Provides: java-compiler, java2-compiler
Depends: sun-java5-jre (= 1.5.0-06-1), sun-java5-demo (= 1.5.0-06-1), libc6, libx11-6
Pre-Depends: debconf (>= 0.5) | debconf-2.0
Suggests: sun-java5-doc, sun-java5-source
Filename: pool/multiverse/s/sun-java5/sun-java5-jdk_1.5.0-06-1_i386.deb
Size: 4985850
MD5sum: df90908c77345a172242ba5090343817
Description: Sun Java(TM) Development Kit (JDK) 5.0
The JDK(TM) is a development environment for building applications,
applets, and components using the Java programming language.
.
The JDK includes tools useful for developing and testing programs
written in the Java programming language and running on the Java
Platform.
.
NOTE: You must accept Sun’s EULA prior to successfully installing
this package
Bugs: mailto:ubuntu-users@lists.ubuntu.com
Origin: Ubuntu

adsouza@adsouza-lx1:~$ java -fullversion
java full version “1.5.0_05-b05”

Posted by Tony at

Note that you have to be careful about how you add “multiverse” to your sources.list. You can’t just uncomment the line in sources.list that contains the word “multiverse”, because that line (in the default sources.list) is for backports only. Instead, you need to add the word “multiverse” to the main line. (This tripped up me up, being an Ubuntu newbie.) So, the following line is what worked for me:

deb [link] dapper main restricted universe multiverse

Posted by Trevor at

I’m also trying to get the sun-java5-jdk package to install. I have tried the above suggestions to no avail. Here are the commands that I’m running:

npowell@hubris:~$ sudo apt-get update
Get:1 [link] dapper Release.gpg [189B]
Get:2 [link] dapper-updates Release.gpg [189B]
Get:3 [link] dapper-backports Release.gpg [189B]
Hit [link] dapper Release
Hit [link] dapper-updates Release
Hit [link] dapper-backports Release
Hit [link] dapper/main Packages
Hit [link] dapper/restricted Packages
Hit [link] dapper/main Sources
Hit [link] dapper/restricted Sources
Hit [link] dapper/universe Packages
Hit [link] dapper/universe Sources
Hit [link] dapper-updates/main Packages
Get:4 [link] dapper-updates/restricted Packages [14B]
Hit [link] dapper-updates/main Sources
Get:5 [link] dapper-updates/restricted Sources [14B]
Hit [link] dapper-backports/main Packages
Get:6 [link] dapper-backports/restricted Packages [14B]
Hit [link] dapper-backports/universe Packages
Hit [link] dapper-backports/multiverse Packages
Hit [link] dapper-backports/main Sources
Get:7 [link] dapper-backports/restricted Sources [14B]
Hit [link] dapper-backports/universe Sources
Hit [link] dapper-backports/multiverse Sources
Get:8 [link] dapper-security Release.gpg [189B]
Hit [link] dapper-security Release
Hit [link] dapper-security/main Packages
Hit [link] dapper-security/restricted Packages
Hit [link] dapper-security/main Sources
Hit [link] dapper-security/restricted Sources
Hit [link] dapper-security/universe Packages
Hit [link] dapper-security/universe Sources
Fetched 60B in 9s (7B/s)
Reading package lists... Done

npowell@hubris:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
npowell@hubris:~$ sudo apt-get -t dapper install sun-java5-jdk
Reading package lists... Done
Building dependency tree... Done
E: Couldn’t find package sun-java5-jdk
npowell@hubris:~$

Here’s the /etc/apt/sources.list I’m using:

#
# deb cdrom:[Ubuntu-Server 6.06.1 Dapper Drake - Release amd64 (20060807.1)]/ dapper main restricted

deb cdrom:[Ubuntu-Server 6.06.1 Dapper Drake - Release amd64 (20060807.1)]/ dapper main restricted

deb [link] dapper main restricted
deb-src [link] dapper main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb [link] dapper-updates main restricted
deb-src [link] dapper-updates main restricted

## Uncomment the following two lines to add software from the ‘universe’
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb [link] dapper universe
deb-src [link] dapper universe

## Uncomment the following two lines to add software from the ‘backports’
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb [link] dapper-backports main restricted universe multiverse
deb-src [link] dapper-backports main restricted universe multiverse

deb [link] dapper-security main restricted
deb-src [link] dapper-security main restricted
deb [link] dapper-security universe
deb-src [link] dapper-security universe

Any ideas on what else I could try?

Thanks!

Posted by Nathaniel Powell at

Sam Ruby: Esse Quam Videri

Java5 JDK installation on Ubuntu...

Excerpt from del.icio.us/lincolnkendal at

Add your comment