Be sure to set environment variables to root

Hi friends,
As I can set starting the java environment to the user root. Thanks for your help.

Hi
If you install java from the SLE repos it will set the environment
variables, for example on my 64bit system;

# env |grep JAVA
JAVA_BINDIR=/usr/lib64/jvm/java/bin
JAVA_HOME=/usr/lib64/jvm/java
JAVA_ROOT=/usr/lib64/jvm/java


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-11-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Hello friend,
In that file I can add these references to the root user and other users of the operating system. thanks

Hi
You can add the variables into a users home directory in the .profile
and export;

export JAVA_BINDIR=/usr/lib64/jvm/java/bin
export JAVA_HOME=/usr/lib64/jvm/java
export JAVA_ROOT=/usr/lib64/jvm/java

Adjust paths as required to your java install.


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-11-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Friend,
Thanks.