Wednesday, October 12, 2011

christian louboutin discount-ubuntu Java Installation and Configuration

Java Installation and Configuration Chinese from Ubuntu

open the terminal , execute the following command , or use Adept / Synaptic software manager , respectively, in which the search for

sudo apt-get install sun-java6-jre

If space is rich , it is recommended to install a JDK.

sudo apt-get install sun-java6-jdk

Tip : During installation, you need to answer whether the consent to use agreement ( the terminal prompt interface in red and blue ) , then press the tab key to OK christian louboutin mens 2011, press Enter to install properly .

set the current default java interpreter :

sudo update-alternatives - config java

execution similar to the following screen will appear :

There are 2 alternatives which provide `java '.

Selection Alternative
---------- -------------------------------------< br> 1 / usr/bin/gij-wrapper- 4.1
* + 2 / usr/lib/jvm/java-6-sun/jre/bin/java

Press enter to keep the default [*], or type selection number:

( PS:) looks like my number 2 10.04 that there are three items selected

input has included As shown above cheap christian louboutin, enter 2 christian louboutin discount, then enter OK.


configuration JAVA environment variable :

sudo gedit / etc / environment

add the following two lines :

CLASSPATH =.: / usr/lib/jvm/java-6-sun/lib
JAVA_HOME = / usr/lib/jvm/java-6 -sun

sudo gedit / etc / jvm

the file

/ usr/lib/jvm/java-6-sun

fill this line to the top of the configuration block

browser installed JAVA Plugin ( optional ):

sudo apt-get install sun-java6-plugin

No comments:

Post a Comment