Sun Java on Ubuntu

Note to self, Ubuntu uses GCJ for Java by default. To get Sun's Java and set it as default,

sudo apt-get install sun-java5-jdk
sudo update-alternatives --config java
Tags: ,

2 Responses to “Sun Java on Ubuntu”

  1. Quoth numerodix:

    A note to self is a post-it ;)

  2. Quoth Brian:

    I did post it.

    I probably deserve to be hurt in some way, for making that joke.

Leave a Reply

You can use these tags in comments (Note: HTML is automatically escaped inside <pre> tags, nowhere else, so if you post source code, put it in <pre>):

<pre lang="some_programming_language"> 
<em>
<strong>
<a href="url">

NOTE: Comments are automatically spam-filtered. If your comment fails to appear, it was likely munched by the filter. Try not to link-spam or post anything that looks like it was typed by a robot.