Stephan Schwab

Software development and farm life

Sun Java VM on Ubuntu Linux

leave a comment »

The newly released Ubuntu 6.06 Dapper includes support for Sun’s JVM. It is available in the multiverse repository. In order to access multiverse one has to add these two lines to /etc/apt/sources.list:

deb http://pa.archive.ubuntu.com/ubuntu/ dapper multiverse
deb-src http://pa.archive.ubuntu.com/ubuntu/ dapper multiverse

After sudo apt-get update one can install the Sun Java5 JDK

sudo apt-get install sun-java5-jdk

That was quite easy and painless. It definitely makes deployment of new servers easier than before.

But unfortunately when you try to install Java applications from the Ubuntu repository you will get the GNU JVM and a bunch of GNU provided jar libraries added to your system. At least for my taste I’d like to stick with Sun’s JVM for production use for a while. Usually I install Tomcat manually in /opt

Written by Stephan Schwab

July 18, 2006 at 6:17 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 138 other followers