on 09-25-2014 5:26 PM
Hello,
I'm a bit confuse about the declaration of Environment Variable Java_home in a Suse OS.
I want to declare it for all users of system. I've tried to include this two entries on /etc/profile
export JAVA_HOME=/usr/java/jre1.7.0_66/bin
export PATH=$JAVA_HOME/bin:$PATH
system@development:/soft/SAP_Download_Manager_1.0_Installation_/Linux/NoVM> sudo ./install.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.
What I'm doing wrong?
Thanks
Set JAVA_HOME to /usr/java/jre1.7.0_66 instead of /usr/java/jre1.7.0_66/bin and try
Regards
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Reagan,
I've tried with :
export JAVA_HOME=/usr/java/jre1.7.0_66/bin
export PATH=$JAVA_HOME:$PATH
If I want to maintain this parameters after logoff of the user, I should mantain it into /etc/profile?
Now I'm getting this message when I've tried to install with UI Mode (-i Console).
User Interface Mode Not Supported
The installer cannot run in this UI mode. To specify the interface mode, use the -i command-line option, followed by the UI mode identifier. The valid UI modes identifiers are GUI, Console, and Silent.
Hello Ruben
If you want to set the JAVA_HOME system wide then /etc/profile instead if you want to set for a specific user then set it in the $HOME/.profile of that particular user.
Previously I suggested you to set the JAVA_HOME to /usr/java/jre1.7.0_66 instead of /usr/java/jre1.7.0_66/bin
Regarding the User Interface mode try setting the DISPLAY variable as well.
You can run /soft/SAP_Download_Manager_1.0_Installation_/Linux/NoVM/install.bin -help to get the list of options and if possible try the silent mode after fixing the JAVA_HOME variable
Regards
RB
I've tried with install.bin -help and man install.bin but I can't get help from the application.
With the option Silent I'm getting the same result...
./install.bin -i Silent
=======================================================
Installer User Interface Mode Not Supported
The installer cannot run in this UI mode. To specify the interface mode, use the -i command-line option, followed by the UI mode identifier. The valid UI modes identifiers are GUI, Console, and Silent.
=======================================================
Hello Reagan,
The output
system@development:~>java -version
java version "1.7.0_66"
Java(TM) SE Runtime Environment (build 1.7.0_66-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
system@development:~>
But I can't install sap download manager with the different installation options...
I am having the same issues - did you find a resolution for this? JAVA_HOME is set properly but it won't accept any UI mode. Results of my java -version call (I'm on linux x86_64):
>java -version
java version "1.7.0_75"
Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)
Hi ruben,
Try to set path upto jre bin.
Also, in path give full path rather than evn variable.
To test, type echo $PATH and check with java -version.
They should return correct values.
For all users, give it in os default profile of shell or dot profiles of each user.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
At global level - every shell has certain environment variables which are given to all users who are running commands and applications under that shell.
At local level - every user has an environment which is supplied to him by currwnt execution shell and profiles.
Variables supplied in global are overwritten by local, if exists at both level.
Every user has a hidden profile in his home directory called as a 'dot profile', which start with a '.' Symbol.
I think that all is the fundamental behind it.
Regards
Hello Sargan,
I've tried with your steps but I'm getting the same result
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.