QAD 2017 Enterprise Edition
>
Installation-Conversion
>
Installation Guide
>
Troubleshooting
>
General
>
Errors
Errors
Java Command Not Found
If you do not have a Java Runtime configured you will see the following error when you execute the installer:
> ./install.py
/qad/sandbox/user/wtb/2017/image/packages/yab-client/1/6/0/56/yab: line 38: java: command not found
Unsupported Class Version
If you have an incorrect version of the Java Runtime configured, you will see the following error when you execute the installer:
> ./install.py
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
Enterprise Edition requires Java 1.8, which is also supported by the YAB administration tool and the installer.
The following command prints the version of the Java Runtime resolved from the PATH.
> java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
If the JAVA_HOME environment variable is set, it will take precedence over the Java Runtime located by the PATH environment. You can check the setting of the JAVA_HOME environment variable and unset it if necessary.
> echo $JAVA_HOME
/usr/java/jdk1.5
> unset JAVA_HOME
> echo $JAVA_HOME