The title says it all. I have to clear the java cache (to load a fresh version of an applet) from the command line, and the command line only, without any GUI.
标题说明了一切。我必须从命令行和命令行清除java缓存(以加载新版本的applet),不需要任何GUI。
I tried something found here https://*.com/a/25807154/4142984
我试过这里找到的东西https://*.com/a/25807154/4142984
javaws -clearcache
But it opens a GUI that leads me to a window for the Java Control Panel.
但它打开了一个GUI,引导我进入Java控制面板的窗口。
The window (seen remotely on a windows machine) is non-resizable, and the interesting buttons from "Temporary Internet Files" are not in the visible part of the window.
窗口(在Windows机器上远程看到)是不可调整大小的,“Temporary Internet Files”中的有趣按钮不在窗口的可见部分。
2 个解决方案
#1
3
Sorry, I thought you were talking about Java memory cache...
对不起,我以为你在谈论Java内存缓存......
I think you got downvoted because your question is out of topic, and unclear. From this "GUI", you must see where your cache is stored.
我认为你被低估了,因为你的问题超出了主题,而且不清楚。从这个“GUI”,您必须查看缓存的存储位置。
Mine is here: /home/ju/.cache/icedtea-web/cache
; then I must do
我在这里:/home/ju/.cache/icedtea-web/cache;那我必须这样做
rm -rf /home/ju/.cache/icedtea-web/cache/*
to remove its content.
删除其内容。
#2
0
There's the option -silent
in javaws
. According to documentation, it prevents UI for importing (installing) applications to the cache. But who knows, maybe it has effect on removing them too.
javaws中有-silent选项。根据文档,它会阻止用于将应用程序导入(安装)到缓存的UI。但是谁知道,也许它对移除它们也有影响。
#1
3
Sorry, I thought you were talking about Java memory cache...
对不起,我以为你在谈论Java内存缓存......
I think you got downvoted because your question is out of topic, and unclear. From this "GUI", you must see where your cache is stored.
我认为你被低估了,因为你的问题超出了主题,而且不清楚。从这个“GUI”,您必须查看缓存的存储位置。
Mine is here: /home/ju/.cache/icedtea-web/cache
; then I must do
我在这里:/home/ju/.cache/icedtea-web/cache;那我必须这样做
rm -rf /home/ju/.cache/icedtea-web/cache/*
to remove its content.
删除其内容。
#2
0
There's the option -silent
in javaws
. According to documentation, it prevents UI for importing (installing) applications to the cache. But who knows, maybe it has effect on removing them too.
javaws中有-silent选项。根据文档,它会阻止用于将应用程序导入(安装)到缓存的UI。但是谁知道,也许它对移除它们也有影响。