开发者

Specify temporary directory in .jnlp

开发者 https://www.devze.com 2023-01-01 09:52 出处:网络
I\'m accessing a java applet that is running on a website (which i can\'t access/modify the content) you can find the applet here : xxx

I'm accessing a java applet that is running on a website (which i can't access/modify the content) you can find the applet here : xxx

I want to be able to specify a temporary folder at start because if i have two instances of that applet running they will overlap the files, they store in the same temporary folder.

I wonder if it's every possible to tell the applet to write in a specified temporary 开发者_如何学JAVAfolder.

Tried to add property :

<property name="java.io.tmpdir" value="/tmp/user1" />

But doesn't work.

Any idea ?


I guess you can download all those jar files and then just run it via java -jar specifying proper class path, main class, memory settings, temporary folder, etc. Consult original jnlp file for more details.

Not sure if it will work, but you can give it a try.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号