linux - Youtrack Installation, Java not found -
i getting following error message:
java executable of version 1.7 not found: - java executable not found under specified directories: 'internal/java/mac-x64', 'internal/java/windows-x86' - neither java_home nor jre_home environment variable defined - java executable not found in directories listed in path environment variable
please make sure 1 of environment variables defined , pointing valid java (jre) installation, run again environment variable fj_debug can set enable debug output
java not found. please ensure jdk or jre installed , java_home environment variable points it. youtrack.sh: 12: exit: illegal number: -1
but have jdk installed on linux server:
root@ikw:/home/ad# update-alternatives --display java java - auto mode link points /usr/bin/gij-4.7 /opt/jdk/jdk1.7.0_75/bin/java - priority 100 /usr/bin/gij-4.7 - priority 1047 current 'best' version '/usr/bin/gij-4.7' i have path variables cofig in file: .profile
java_home='/usr/bin/gij-4.7/opt/jdk/jdk1.7.0_75/bin/java' export java_home path="$java_home/bin:$path" export path any idea how fix java issue able install youtrack?
instead of:
java_home='/usr/bin/gij-4.7/opt/jdk/jdk1.7.0_75/bin/java' try this:
java_home='/usr/bin/gij-4.7/opt/jdk/jdk1.7.0_75'
Comments
Post a Comment