java5-jre and sun-java5-bin

AC Perdon turf.ph at gmail.com
Sun Feb 18 23:35:32 UTC 2007


Hi,

Here is a another way to install JRE. I assume you have downloaded Java
Runtime Environment (JRE) 5.0 , Linux self-extracting file from *
http://java.sun.com/javase/downloads/index.jsp*


1.

sudo apt-get install build-essential

2.

sudo apt-get install fakeroot java-package java-common

3.

fakeroot make-jpkg jre-1_5_0_08-linux-i586.bin

4.

sudo dpkg -i sun-j2re1.5_1.5.0+update08_i386.deb

5.

 sudo update-alternatives --config java

 When asking for which version you want to choose pick;

3 /usr/lib/j2sdk1.5-sun/bin/java

To Test:

java -version

I hope this help.

Regards,
AC

On 2/19/07, Erik Schmidt <eschmidt90 at gmail.com> wrote:
>
> what would I need to install to develop in java, under teh assumption
> that I need stuff like java.util and javax.swing
>
> On Sun, 2007-02-18 at 12:36 -0500, Matthew Flaschen wrote:
> > 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?
> >
> > You probably don't need Sun Java.  Install java-gcj-compat , and
> > everything should Just Work.
> >
> > Matthew Flaschen
> >
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



-- 
AC Perdon
Registered GNU/Linux User #340122
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070219/f83b5c90/attachment.html>


More information about the ubuntu-users mailing list