I get the following error when trying to call the GPT on the command line (through a shell script):
Error: java.lang.ClassNotFoundException: org.esa.snap.framework.gpf.main.GPT
java.lang.RuntimeException: java.lang.ClassNotFoundException: org.esa.snap.framework.gpf.main.GPT
at org.esa.snap.runtime.Launcher.lambda$run$12(Launcher.java:57)
at org.esa.snap.runtime.Engine.runClientCode(Engine.java:186)
at org.esa.snap.runtime.Launcher.run(Launcher.java:51)
at org.esa.snap.runtime.Launcher.main(Launcher.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62)
at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:57)
Caused by: java.lang.ClassNotFoundException: org.esa.snap.framework.gpf.main.GPT
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.esa.snap.runtime.Launcher.lambda$run$12(Launcher.java:53)
… 9 more
It is exactly the same error as that mentioned in another s1tbx thread (ClassNotFoundException when calling gpt from the command line), but having updated my version of SNAP (after the 28/1/2016 release), the problem is still not fixed. I have tried processing the RS2 data that I am using from scratch, including re-unzipping them, and still no luck.
Is this a glitch in the current version of SNAP, or am I doing something wrong?
Thanks,
LekkiP