SNAP gpt warning

I have java 8 installed and when running the following command line:

gpt S1_SLC_to_TC.xml -Pinput=“input filename” -Poutput=“output filename”

I get the following warnings:

OpenJDK 64-Bit Server VM warning: Option AggressiveOpts was deprecated in version 11.0 and will likely be removed in a future release.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.esa.snap.runtime.Engine (file:/C:/Dev/esa-snap/snap/modules/ext/org.esa.snap.snap-core/org-esa-snap/snap-runtime.jar) to method java.lang.ClassLoader.initializePath(java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.esa.snap.runtime.Engine
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

That line of code applies the graph correctly, so there is no issue here.

Thank you
Joao

What is your SNAP version?

version 10

SNAP does not use the Java version installed on your system, as it includes its own Java runtime. For SNAP 10, Java 11 is used (see C:\Dev\esa-snap\jre for reference).
These warnings do not affect the proper functioning of SNAP.

1 Like