1

我正在尝试使 java web start 应用程序可移植。它将一些东西存储在用户的主目录中,还有一些东西在缓存中。我正在使用portableapps.com的便携式java,并且我已经使用-J-Duser.home =“Data”来存储主文件夹stuf,但是如何更改网络缓存,最好是一个名为“缓存”的文件夹"在同一目录中。

4

1 回答 1

1

Take a look at this page. If you are on Windows you can go to the Java Control Panel and change the cache directory that way.

于 2011-01-26T22:14:21.023 回答