Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Is it possible to change base directory where JAVA WEB START execute programs?

4242431Apr 29 2020 — edited Apr 29 2020

When I execute a .jnlp file in WINDOWS somentimes JAVA create a set of directories where put relative files. For example if I run .jnlp file, after I have a DIR on C:\ and the dir is C:\MyDir. I want that JAVA works with a different basedir, specifically for the previuos example I want E:\MyDir. I think that is logic to choose a basedir but after various searches I can't do this job. Is there a way to do this? In the control panel of Java I have only control for temp files. Thanks.

Comments
Post Details
Added on Apr 29 2020
0 comments
271 views