/
How to move .snap directory to a different location

How to move .snap directory to a different location

For the SNAP Desktop:

Edit the snap.conf file in the etc folder of the SNAP installation directory. You need administration rights to edit this file.

Inside you see the default_options string.

Add -J-Dsnap.userdir=C:\temp\mySnapDir to it or the path to the location you want. In the end it will look like:

default_options="--branding snap --locale en_GB -J-XX:+AggressiveOpts -J-Xverify:none -J-Xms256M -J-Xmx11G -J-Dsnap.userdir=C:\temp\mySnapDir -J-Dnetbeans.mainclass=org.esa.snap.main.Main -J-Dsun.java2d.noddraw=true -J-Dsun.awt.nopixfmt=true -J-Dsun.java2d.dpiaware=false"


For gpt or pconvert:

Edit the corresponding gpt.vmoptions or the pconvert.vmoptions file. Both are located in the bin folder of the SNAP installation directory. Simply add the line:

-Dsnap.userdir=C:\temp\mySnapDir

Related content

SNAP Configuration
SNAP Configuration
More like this
Configure Python to use the SNAP-Python (snappy) interface (SNAP versions <= 9)
Configure Python to use the SNAP-Python (snappy) interface (SNAP versions <= 9)
More like this
Configure Proxy
Configure Proxy
Read with this
Update of SNAP default installation directory
Update of SNAP default installation directory
More like this
SNAP Project Development
SNAP Project Development
Read with this
Adding an external module cluster to SNAP
Adding an external module cluster to SNAP
More like this