Skip to main content
Delphix

Hostchecker Fails With Error "Running on a machine without the jdk" (KBA6133)

 

 

KBA

KBA# 6133

 

Hostchecker Fails With Error "Running on a machine without the jdk! "

When running hostchecker you may encounter a failure resulting in the following error:

$ sh hostchecker.sh 
Using the installed Java executable (version: 1.8.0_131). 
Exception in thread "main" com.delphix.appliance.server.exception.DelphixFatalException: Running on a machine without the jdk! 
at com.delphix.appliance.common.uem.compilation.JavaExecutor.compile(JavaExecutor.java:117) 
at com.delphix.appliance.common.uem.compilation.JavaExecutor.compileAndLoadCommands(JavaExecutor.java:52) 
at com.delphix.appliance.common.uem.compilation.CommandManager.<init>(CommandManager.java:66) 
at com.delphix.appliance.common.uem.hostchecker.HostCheckerCLI.<init>(HostCheckerCLI.java:42) 
at com.delphix.appliance.common.uem.hostchecker.HostChecker.main(HostChecker.java:26)

 

Applicable Delphix Versions

Click here to view the versions of the Delphix engine to which this article applies
Major Release All Sub Releases
6.0 6.0.0.0, 6.0.1.0, 6.0.1.1, 6.0.2.0

5.3

5.3.0.0, 5.3.0.1, 5.3.0.2, 5.3.0.3, 5.3.1.0, 5.3.1.1, 5.3.1.2, 5.3.2.0, 5.3.3.0, 5.3.3.1, 5.3.4.0, 5.3.5.0 5.3.6.0, 5.3.7.0, 5.3.7.1, 5.3.8.0, 5.3.8.1, 5.3.9.0

5.2

5.2.2.0, 5.2.2.1, 5.2.3.0, 5.2.4.0, 5.2.5.0, 5.2.5.1, 5.2.6.0, 5.2.6.1

5.1

5.1.0.0, 5.1.1.0, 5.1.2.0, 5.1.3.0, 5.1.4.0, 5.1.5.0, 5.1.5.1, 5.1.6.0, 5.1.7.0, 5.1.8.0, 5.1.8.1, 5.1.9.0, 5.1.10.0

5.0

5.0.1.0, 5.0.1.1, 5.0.2.0, 5.0.2.1, 5.0.2.2, 5.0.2.3, 5.0.3.0, 5.0.3.1, 5.0.4.0, 5.0.4.1 ,5.0.5.0, 5.0.5.1, 5.0.5.2, 5.0.5.3, 5.0.5.4

4.3

4.3.1.0, 4.3.2.0, 4.3.2.1, 4.3.3.0, 4.3.4.0, 4.3.4.1, 4.3.5.0

4.2

4.2.0.0, 4.2.0.3, 4.2.1.0, 4.2.1.1, 4.2.2.0, 4.2.2.1, 4.2.3.0, 4.2.4.0 , 4.2.5.0, 4.2.5.1

4.1

4.1.0.0, 4.1.2.0, 4.1.3.0, 4.1.3.1, 4.1.3.2, 4.1.4.0, 4.1.5.0, 4.1.6.0

Resolution

This error usually means that the Java installation in your PATH environment variable is not a JDK. 

Delphix does provide a JDK with the Delphix toolkit. 

To use the provided JDK with the hostchecker, refer to the following example:

-bash-3.2$ cd <your toolkit directory>
-bash-3.2$ find . -name javac
./Delphix_COMMON_564d5bfd_187c_ff17_14af_7e77caead436_sybase_host/java/jdk/bin/javac
-bash-3.2$ export PATH=${PWD}/Delphix_COMMON_564d5bfd_187c_ff17_14af_7e77caead436_sybase_host/java/jdk/bin:${PATH}
-bash-3.2$ which javac
/export/home/sybase/toolkit/Delphix_COMMON_564d5bfd_187c_ff17_14af_7e77caead436_sybase_host/java/jdk/bin/javac
-bash-3.2$ java -jar hostchecker.jar
 

 

 


Related Articles

The following articles may provide more information or related information to this article:

  • n/a