How to fix incorrect JAVA_PATH?

0 like 0 dislike
42 views
Downloaded and antipol WildFly. I go to the bin directory, try to run the script ./standalone.sh. Get this:

JBoss Bootstrap Environment JBOSS_HOME: /home/slandshow/Java_Kit/wildfly-14.0.1.Final JAVA: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java/bin/java JAVA_OPTS: -server-Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m-Djava.net.preferIPv4Stack=true-Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true ========================================================================= ./standalone.sh: 1: eval: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java/bin/java: not found


Don't understand what's the problem? It seems that my path to Java is set incorrectly. But I decided to see this path and this directory exists. How to fix the problem?
by | 42 views

2 Answers

0 like 0 dislike
Understood.

JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 export PATH=$JAVA_HOME/bin:$PATH
by
0 like 0 dislike
/bin/java At the end is duplicated
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Apr 13, 2019 by alex_kag
0 like 0 dislike
1 answer
110,608 questions
257,187 answers
0 comments
40,796 users