Search
| How to set Sun java as default in Debian/Ubuntu |
|
|
|
| How to ? - Linux |
| Written by admin |
| Saturday, 30 October 2010 07:19 |
|
![]()
Most of the time even if we install Sun Java, gcj is used as the default. Sun java could be set as the deafult in Linux by the following simple command. # update-java-alternatives -s java-6-sun # java -version java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)
|
| Last Updated on Saturday, 30 October 2010 07:25 |





