AnsweredAssumed Answered

Does ArcObjects support latest version of Java i.e. Java 9? If no then is there any plan to release ArcObjects with Java 9 support?

Question asked by skirkire on Oct 23, 2017
Latest reply on Oct 24, 2017 by JCaccamo-esristaff

Does ArcObjects support latest version of Java i.e. Java 9? If no then is there any plan to release ArcObjects with Java 9 support?

We tried to run a POC for Java 9 and got following error:

/home/install/POC/jdk-9/bin/java com.xxx.poc.MainClass

java.lang.ArrayIndexOutOfBoundsException: 1

        at com.esri.arcgis.system.EngineInitializer.getJavaVersionNumber(Unknown Source)

        at com.esri.arcgis.system.EngineInitializer.initializeEngine(Unknown Source)

        at com.xxx.poc.MainClass.main(MainClass.java:34)

Exception in thread "main" java.lang.NullPointerException

        at com.xxx.poc.MainClass.main(MainClass.java:42)

 

While the same workflow works fine with Java 8.145:

/home/install/POC/jdk1.8.0_45/bin/java com.xxx.poc.MainClass

ArcGIS Engine on Linux with Java requires a minimum stack size of 2MB.

The stack size should be specified as a VM argument, e.g. -Xss2m

Got ArcServer License.

Exiting smoothly.

Outcomes