0

./standalone.sh: 1: eval: /opt/java/jdk1.7.0_21/bin/java: not found
Someone assist on how to fix the above erro kindly. Am trying to run a ./standalone.sh command in the terminal but am getting the above error.

5
Contributors
4
Replies
27
Views
2 Years
Discussion Span
Last Post by jwenting
0

On my kubuntu system, I get this

$ ls -l /usr/bin/java
lrwxrwxrwx 1 root root 22 mars   5  2014 /usr/bin/java -> /etc/alternatives/java
$ ls -l /etc/alternatives/java
lrwxrwxrwx 1 root root 46 mars   5  2014 /etc/alternatives/java -> /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java

Your java executable may have a different location. You can also try

locate bin/java
0

Just need to add the path to your enviroment. Using "echo $PATH"
displays you current path. you need to add the path of the script to you env using

PATH=$PATH\:/dir/path ; export PATH
0

and do upgrade to the latest release from Oracle. 1.8.0_60 as of writing.
1.7.0_79 is the last 1.7 release, mostly security fixes and some minor stuff.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.