refs #3964 It tried to modify gvSIG.sh, which was in use. Solved creating a config file which can be modified by the application and readed by gvSIG.sh.
Import jvmpreferences project