LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   what is the java settings on opensuse (https://www.linuxquestions.org/questions/suse-opensuse-60/what-is-the-java-settings-on-opensuse-817584/)

skzende 07-02-2010 03:19 AM

what is the java settings on opensuse
 
i am new to linux also opensuse11.2 recently i am install this version.
i am java programmer. so i want install eclipse on linux. so i want to know that how to set a environment variable of java on linux and eclipse

AlucardZero 07-02-2010 06:13 AM

http://lowfatlinux.com/linux-environment-variables.html

Crisantux 07-15-2010 01:35 AM

In addition to know how to set an environment variable in general you should know, there is a set of scripts in OpenSuse to change all needed settings to use a specific Java version.

In a command shell, being root user, you get a list of already installed Java VMs with command
Code:

update-alternatives --list java
Setting all PATH and CLASSPATH variables to use another of the installed VMs is done with
Code:

update-alternatives --config java
You can install different VMs from OpenSuse build server. I don't know, if the "update-alternatives" script works with a Java VM not installed through the OpenSuse packet management.


All times are GMT -5. The time now is 12:11 AM.