Install wont find JRE- $JAVA_HOME
Hi, i have been googling and trying things for a few hours now but cannot get the installation of NeXpose to work
The error is: Code:
This application requires a Java Run Time Environment (JRE) $ which java /usr/bin/java $ java -version java version "1.6.0_10" Java(TM) SE Runtime Environment (build 1.6.0_10-b33) Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode) $ echo $PATH /opt/kde3/bin:/opt/kde3/games:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/oracle/instantclient_10_2:/opt/oracle/instantclient_10_2 $ echo $JAVA_HOME (empty) I did $ locate jre and found the location of the jre install? from what ive googled this seems correct: /usr/lib/jvm/java-6-sun-1.6.0.10/jre/ (of which contains /bin/java) So i then added this to the JAVA_HOME variable export JAVA_HOME="/usr/lib/jvm/java-6-sun-1.6.0.10/jre/" also added this to PATH export PATH=$PATH:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/ What am i missing here? :( any more info just ask |
Does the command line switch is:javahome accept a path to your Java or JRE directory?
|
Quote:
if i scroll up on the installation-type screen in terminal, i noticed this also: Code:
Initializing InstallShield Wizard........ $ sudo bash ./filename.bin plain $./filename.bin does not work, and ive seen an installation of NeXpose tutorial in which it does grrrr |
Quote:
Code:
sudo su |
Quote:
Quote:
|
Quote:
In any case, perhaps the -is:javahome switch does accept a path? Have you tried adding -is:javahome /usr/lib/jvm/java-6-sun-1.6.0.10 when you run the install script? (By the way, in my experience, usually $JAVA_HOME is set to the top level directory of your Java installation, so even if the JRE is installed in ../../java/jre, you still set the variable to ../../java) EDIT: I just looked at the install script, you can also add the option -is:log /path/to/log in order to save more information on what's happening with your install... |
Quote:
|
ok, i ran the commands and the install under su, and it seems to work now, although it wont load the graphical install so im using -console switch
thanks for help |
All times are GMT -5. The time now is 04:47 PM. |