Object Gateway Server - Java Executable Not Found
Not sure where to ask for some helpful hints about IRIS 2019.1 in 2025, but here goes.
I'm trying to create a new Java gateway to run some Java code through ObjectScript, but I keep getting an error saying "Java executable not found in the given directory":
This is my Object Gateway Server definition:
I am not sure what is wrong, whether I am defining this gateway wrong, because I can verify that the executable exists in the provided directory.
Any help or hint is greatly appreciated!
Comments
Hi Adeel,
IRIS 2019 does not support java 11. I suppose this is the cause of error. The maximum supported version of java is 8. See documentation:
Supported Technologies | InterSystems Supported Platforms | InterSystems IRIS Data Platform 2019.1
Regards.
It really seems that there is no java executable in the (supposed?) java home directory you specified.
Can you check if the following file exists:
C:\Program Filey\Java\jdk-11\bin\java.exe
Then there may be issues with the java version, maybe not.