January 05, 2010

OpenJDK or Java Sun JDK on Ubuntu

« ApplicationContextAware - access application context from bean | Main | Java Graphics Example »
Ubuntu enables to run more than one Java VM. Sometimes a dynamic change of Java VMs are needed. That's possible with the following command:
sudo update-alternatives --config java
Regards
Rafael

Technorati Tags:

Posted by rafael.sobek at 3:49 PM in Linux

 

[Trackback URL for this entry]

Comment: Corinna Herrmann at Do, 7 Jan 3:07 PM

Due to AppArmor (standard config) it is not possible to run your own Java version with Ubunutu 9.04+. So you have to create your own AppArmor profile or uninstall this module.

(see also http://help.ubuntu.com/community/AppArmor)

Your comment:

(not displayed)
 
 
 

Live Comment Preview: