SmartClient_v101p_2016-03-03_LGPL
alam@alamltu2 ~/smartclient/smartclientSDK $ sudo ./start_embedded_server.sh
[sudo] password for alam:
Enable to auto-detect JAVA_HOME. Assuming 'java' is in PATH
Error: could not find a Java JDK or JRE on your system.
If you do not have Java installed, please download and install the JDK.
If you do have Java installed, please set the JAVA_HOME environment
variable to the base directory of the JDK.
------------------------------------------
alam@alamltu2 ~/smartclient/smartclientSDK $ echo $JAVA_HOME
/usr/lib/jvm/java-8-oracle/bin/java
alam@alamltu2 ~/smartclient/smartclientSDK $ echo $JRE_HOME
/usr/lib/jvm/java-8-oracle/jre/bin/java
alam@alamltu2 ~/smartclient/smartclientSDK $ java -version
java version "1.8.0_74"
Java(TM) SE Runtime Environment (build 1.8.0_74-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode)
alam@alamltu2 ~/smartclient/smartclientSDK $
--------------------------------
sudo nano .bashrc
export JAVA_HOME=/usr/lib/jvm/java-8-oracle/bin/java
export JRE_HOME=/usr/lib/jvm/java-8-oracle/jre/bin/java
export PATH=$PATH:$HOME/bin:JAVA_HOME:JRE_HOME
------------------------
What's wrong with my java?. pls help.. thanks.
alam@alamltu2 ~/smartclient/smartclientSDK $ sudo ./start_embedded_server.sh
[sudo] password for alam:
Enable to auto-detect JAVA_HOME. Assuming 'java' is in PATH
Error: could not find a Java JDK or JRE on your system.
If you do not have Java installed, please download and install the JDK.
If you do have Java installed, please set the JAVA_HOME environment
variable to the base directory of the JDK.
------------------------------------------
alam@alamltu2 ~/smartclient/smartclientSDK $ echo $JAVA_HOME
/usr/lib/jvm/java-8-oracle/bin/java
alam@alamltu2 ~/smartclient/smartclientSDK $ echo $JRE_HOME
/usr/lib/jvm/java-8-oracle/jre/bin/java
alam@alamltu2 ~/smartclient/smartclientSDK $ java -version
java version "1.8.0_74"
Java(TM) SE Runtime Environment (build 1.8.0_74-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode)
alam@alamltu2 ~/smartclient/smartclientSDK $
--------------------------------
sudo nano .bashrc
export JAVA_HOME=/usr/lib/jvm/java-8-oracle/bin/java
export JRE_HOME=/usr/lib/jvm/java-8-oracle/jre/bin/java
export PATH=$PATH:$HOME/bin:JAVA_HOME:JRE_HOME
------------------------
What's wrong with my java?. pls help.. thanks.
Comment