java5-jre and sun-java5-bin

NoOp glgxg at mfire.com
Mon Feb 19 02:59:21 UTC 2007


On 02/18/2007 06:29 PM, Derek Broughton wrote:
> NoOp wrote:
> 
>> On 02/18/2007 09:12 AM, Erik Schmidt wrote:
>>> I recently tried to install the java JRE, it said I needed a package
>>> called sun-java5-bin
>>> 
>>> I searched for this package in synaptic package manager, it turned up
>>> nothing
>>> 
>>> how do I install these packages?
> 
>> 
>> http://easylinux.info/wiki/Ubuntu:Edgy
>> search for: sun
> 
> So much for "easy"linux.
> 
> Just add multiverse to your /etc/apt/sources.list, and you get the
> sun-java5-* packages.
> 
> If you want sun-java6, add edgy-backports.

Ummm... doesn't it basically say that plus some added information?

<quote>
 How to install Java Development Kit (JDK) v5.0

[snip]

sudo aptitude install sun-java5-jdk

    * Accept the licence agreement that appears.

    * Set Sun's JVM as default Java version:

sudo update-java-alternatives -s java-1.5.0-sun

    * Edit /etc/jvm and move /usr/lib/jvm/java-1.5.0-sun to the top of
JVMs offered:

gksudo gedit /etc/jvm

    * To fix the Ubuntu "libfontmanager" issue that can kill the entire
JVM (e.g. JasperReports), remove these troublesome fonts:

mkdir ~/fonts_backup
sudo mv /usr/share/fonts/truetype/ttf-gujarati-fonts/aakar-medium.ttf
~/fonts_backup/
sudo mv /usr/share/fonts/truetype/ttf-gujarati-fonts/Rekha.ttf
~/fonts_backup/
</quote>

The item just above it also shows how to upgrade to Java Development Kit
(JDK) v6.0.






More information about the ubuntu-users mailing list