August 14, 2007

jdk update

Category: Linux — Josh @ 7:15 pm

Not much today… I updated the version of the sun jdk installed on my server. I downloaded the last version of the sun jdk that is compatible with the etch make-jpkg build scripts. It happens to be jdk-1_5_0_11-linux-i586.bin. Making the debian package is as simple. Ensure that fakeroot, make-jpkg, and Java-common packages are installed, then issue the following command;

[email protected]:~$ fakeroot make-jpkg jdk-1_5_0_11-linux-i586.bin

Go through the license agreement and wait for the package to finish building. I purged out the old version of the jdk;

[email protected]:~$ sudo dpkg –purge sun-j2sdk1.5

After the package is completed install it.

[email protected]:~$ sudo dpkg –install sun-j2sdk1.5_1.5.0+update11_i386.deb


No Comments »

No comments yet.

RSS feed for comments on this post. | TrackBack URI

Leave a comment

XHTML ( You can use these tags):
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> .