Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration #2

Open
geom16011 opened this issue Apr 24, 2018 · 0 comments
Open

Configuration #2

geom16011 opened this issue Apr 24, 2018 · 0 comments

Comments

@geom16011
Copy link

geom16011 commented Apr 24, 2018

i used the parameters specified in this link https://senbox.atlassian.net/wiki/spaces/SNAP/pages/24051775/IntelliJ+IDEA

and more specifically the ones
Main class: org.esa.snap.nbexec.Launcher
VM options: -Dsun.java2d.noddraw=true -Dsun.awt.nopixfmt=true -Dsun.java2d.dpiaware=false -Dorg.netbeans.level=INFO -Dsnap.debug=true -Xmx4G
Program arguments: --userdir "/../userdir" --patches "/snap/snap-engine/$/target/classes"
Working directory:
Use classpath of module: snap-main

The configuration (default application configuration) i used is like this
image

I get the following error

"C:\Program Files\Java\jdk1.8.0_171\bin\java.exe" -Dsun.java2d.noddraw=true -Dsun.awt.nopixfmt=true -Dsun.java2d.dpiaware=false -Dorg.netbeans.level=INFO -Dsnap.debug=true -Xmx4G "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2018.1.1\lib\idea_rt.jar=60903:C:\Program Files\JetBrains\IntelliJ IDEA 2018.1.1\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\user\AppData\Local\Temp\classpath2001394658.jar org.esa.snap.nbexec.Launcher --userdir /../userdir --patches /snap/snap-engine/$/target/classes
Exception in thread "main" java.lang.IllegalStateException: Not a valid installation directory: C:\Users\user\Documents\sen2coral
at org.esa.snap.nbexec.Launcher.run(Launcher.java:101)
at org.esa.snap.nbexec.Launcher.main(Launcher.java:86)

Process finished with exit code 1

Any ideas? Morover what kind of result should i see in the working directory?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant