I changed the code of the getUserDataDirectory Method to check if config/jstock.properties exists.
If it does it tries to extract the content of the property "datapath", otherwise it will just use the standard method for setting the UserDataDirectory
Maybe someone else can find this useful. I had problems getting Jstock to work because of file permission restrictions. This way JStock allows me to put my User Data where i want it to be.