PDA

View Full Version : [ubuntu] package sun-java6-source



tinker123
September 24th, 2010, 08:36 PM
I have the Sun javac and jre installed on the latest Ubuntu.

I would like to install this package:

sun-jav6-source

Synaptic doesn't list it and I can't find a *.deb to download.

How can I get it?

How can I tell what directory it will install into?

Thanks in advance for any info

howefield
September 24th, 2010, 08:49 PM
Have you enabled the Partner repository ?

tinker123
September 24th, 2010, 10:05 PM
I did not know there was such a thing.

I went into System | Admin | Software Sources | Other Sources (tab)

and checked off the first 2 of 4 check boxes. I then ran the reload

Ubuntu sill complains it does not know about sun-java6-source

howefield
September 24th, 2010, 10:39 PM
By latest Ubuntu, you are referring to 10.04 Lucid ?

The package is in the partner repository.

http://archive.canonical.com/ubuntu/dists/lucid/partner/source/Sources

tinker123
September 25th, 2010, 12:01 AM
By latest Ubuntu, you are referring to 10.04 Lucid ?


Yep




steve@Wisdom:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
steve@Wisdom:~$






The package is in the partner repository.

http://archive.canonical.com/ubuntu/dists/lucid/partner/source/Sources

I tried adding that in the "Other Sources" tabl of System | Admin | Sources but the add button stayed grayed out.

I found this helpful tutuorial, but the URLs in the screen shot for "partner repositiories" don't exist in my system

tinker123
September 26th, 2010, 03:31 PM
I don't know what I did differently, but I got the partner URLs added to the source mangager. I had to explicitly uninstall off of the openjdk stuff with synaptic but I got Sun's Java completely up.