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?

476
1
10-23-2017 03:35 AM
ShantanuKirkire
New Contributor

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.

Tags (2)
0 Kudos
1 Reply
JaredCaccamo
Esri Contributor

ArcObjects does not currently support the Java 9 JDK. Currently there is no information on a plan to support this for a future release of ArcObjects as well. One major issue that would arise is that Java 9 is only 64-bit where ArcObjects is exclusively 32-bit.

0 Kudos