ojdkbuild / ojdkbuild

Community builds using source code from OpenJDK project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

changing the userdata folder

TheRaysor opened this issue · comments

Hi there!
I was wondering if i am able to change the directory of the userdata?
I wanted to save the my trusted configs in another folder, so i searched for the itw configs and i saw the variable wsdir an that the option -Ditw.userdata is changed to wsdir. Is there a way to use systemvariables like %appdata%

Hi, it is possible to change that path replacing {{wsdir}} placeholder with some concrete path in javaws_options.txt. But environment variables cannot be used in this file (they are not resolved), and the changes in this file won't be preserved on MSI update to the new version.

Closing the issue, please re-open if more assistance is needed on javaws_options.txt.