Java error on Windows


I have this error when I open Snap now after updates. How should I fix it ?

java.lang.UnsatisfiedLinkError: org.gdal.gdalconst.gdalconstJNI.GDT_Unknown_get()I
at org.gdal.gdalconst.gdalconstJNI.GDT_Unknown_get(Native Method)
at org.gdal.gdalconst.gdalconstConstants.(
at org.esa.s2tbx.dataio.gdal.GDALUtils.(
at org.esa.s2tbx.dataio.gdal.activator.GDALDistributionInstaller.install(
at org.esa.s2tbx.dataio.gdal.activator.GDALPlugInActivator.start(
at org.esa.snap.runtime.Engine.informActivators(
at org.esa.snap.runtime.Engine.lambda$start$0(
at org.esa.snap.runtime.Engine.runClientCode(
at org.esa.snap.runtime.Engine.start(
at org.esa.snap.rcp.SnapApp.onStart(
at org.esa.snap.rcp.SnapApp$
at org.openide.util.RequestProcessor$
at org.netbeans.modules.openide.util.GlobalLookup.execute(
at org.openide.util.lookup.Lookups.executeWith(
[catch] at org.openide.util.RequestProcessor$

It seems that the GDAL native libraries are not found.
You can try to delete the gdal folder within .snap/auxdata from your user directory and then try to start SNAP again.
Best regards,

I did so , but the error remaided :confounded:

The error disappears when I stopped using proxy connections.

I am experiencing several issues with proxy on SNAP

I just reproduced it by corrupting (deleting) parts of gdal directory contents. Then, by deleting the entire gdal folder within auxdata, at SNAP restart, everything was put again in the right place.
Your gdal folder content should look like this:


Make sure to close the file explorer after you delete the gdal folder, in order that SNAP has access to write there again the gdal folder with the right contents.

1 Like

I did so… but the issue remains…