I followed suite with this tactic, as suggested not only here but in other places on the internet. However, I am still receiving linker exceptions, even after explicitly adding the jars to the classpath.Currently I have one plugin, which is my "map" plugin, containing all jars except for gluegen and jogl jars; another plugin which contains the non-native jogl.all and gluegen-rt; and a linux specific plugin containing the jog.all-linux and gluegen-rt-linux jars. If I run without the UseTempJarCache=false, I receive the JAR URL expcetion; If I run with it, I receive the Linker exception.Anyone have any insights into this? Developments since original post?
Just as a follow-up, I got this to work by:1) Packaging jogl.all.jar and gluegen-rt.jar as a separate plugin. Additionally, I have a plugin for the rest of the non-native code jars in the sdk/jars directory.2) Implementing fragment bundles for the respective native code jars3) Setting the java property jogamp.gluegen.UseTempJarCache=false
What will *not* work is packaging up all of the jars in a single plugin. This actually could be made to work, with a newer version of jogl, utilizing a mechanism that they have implemented to automate the selection/loading of the correct native code, but there is an interface incompatibility with those newer versions of jogl and the version that the ESRI Runtime SDK expects, so no go for now.
we have removed jogl from the product at 10.2.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.