Written by

IRIS Developer Advocate, Software developer at CaretDev, Tabcorp
MOD
Question Dmitry Maslennikov · Jul 26, 2023

Java Gateway, Java version?

So, I needed to start Java Gateway, and found, that it does not want to work with the latest Java versions, I tried 20, 18, 17

Start External Language Server %Java Server:

Please wait...result will show below:

2023-07-26 19:46:24  Starting Java Gateway Server '%Java Server'
2023-07-26 19:46:24  *ERROR* Return from RunStartCmd: ERROR #5049: Java version '18.0.1.1' is not supported.
2023-07-26 19:46:25  An error occurred while trying to start the Gateway Server External Language Server failed to Start:
ERROR #5049: Java version '18.0.1.1' is not supported.

Error, only says, that it will not work, and say nothing, about which version it wants to see

I finally managed to start it with version 11, but I had to try multiple latest versions 

So, IRIS in 2023, does not want to work with the latest LTS version 17, which is from 2021, almost 2 years ago. And only accepts version 5 years old?

Product version: IRIS 2023.2
$ZV: IRIS for Windows (x86-64) 2023.1 (Build 229U) Fri Apr 14 2023 17:24:03 EDT

Comments

Dmitry Maslennikov  Jul 27, 2023 to Vic Sun

It's quite tricky to find this page. And I tried, to go through a help page from Management Portal, to find any details, about which version is supported. Anyway, the error seems useless, while it could mention the supported versions too.

0
Yuri Marx · Jul 26, 2023

Many companies are not using java 8 or 11 anymore, because security issues and migrated to 17 version and later. It is important support the latest versions.

0
water huang · Jul 27, 2023

i would like to use JAVA to open service for iris,so i don·t care if iris not support any java version

0
Yuri Marx  Jul 29, 2023 to water huang

An hacker would like to open connection with a legacy java version too, in your iris env🤣

0
Julian Petrescu · Jul 27, 2023

This also applies to the JDBC Gateway, which in turn limits the ability to use Foreign Tables.

0