Invalid Java location

Troubleshooting Installation

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

Starting Stash will get the following error:

# bin/start-stash.sh -fg
Starting Atlassian Stash as current user
Detecting JVM PermGen support...
PermGen switch is supported. Setting to 256m\n
Using STASH_HOME: /home/stash
Using CATALINA_BASE: /opt/atlassian/atlassian-stash-1.3.1
Using CATALINA_HOME: /opt/atlassian/atlassian-stash-1.3.1
Using CATALINA_TMPDIR: /opt/atlassian/atlassian-stash-1.3.1/temp
Using JRE_HOME: /usr/bin/java
Using CLASSPATH: /opt/atlassian/atlassian-stash-1.3.1/bin/bootstrap.jar
Using CATALINA_PID: /opt/atlassian/atlassian-stash-1.3.1/work/catalina.pid
bin/catalina.sh: line 306: /usr/bin/java/bin/java: Not a directory
bin/catalina.sh: line 306: exec: /usr/bin/java/bin/java: cannot execute: Not a directory

原因

JAVA_HOME is incorrectly set.

ソリューション

Set the correct JAVA_HOME as stated in this documentation.

Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.