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' |
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
.png)
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?
Comments
Documentation shows that Java 8 and 11 are supported.
11 support was added briefly before Java 17 LTS was released (early 2021 I believe), but it seems InterSystems' Java support has not been updated in the past 2 years. This is something we are working on, however I don't know when that change might be released.
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.
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.
i would like to use JAVA to open service for iris,so i don·t care if iris not support any java version
An hacker would like to open connection with a legacy java version too, in your iris env🤣
This also applies to the JDBC Gateway, which in turn limits the ability to use Foreign Tables.