diff --git a/apps/routerconsole/java/src/net/i2p/router/update/PluginUpdateRunner.java b/apps/routerconsole/java/src/net/i2p/router/update/PluginUpdateRunner.java index 2c840980d67cec7244b640c67f069419c0729b6b..4af7f5cdf7dfe21beeb621f7d9700fbb7b1bca98 100644 --- a/apps/routerconsole/java/src/net/i2p/router/update/PluginUpdateRunner.java +++ b/apps/routerconsole/java/src/net/i2p/router/update/PluginUpdateRunner.java @@ -379,7 +379,11 @@ class PluginUpdateRunner extends UpdateRunner { f.delete(); to.delete(); FileUtil.rmdir(tempDir, false); - statusDone("<b>" + _t("Plugin from {0} is corrupt", url) + "</b>"); + String msg = _t("Plugin from {0} is corrupt", url); + // too hard to figure out if it actually contains pack200 files, so just add a hint... + if (!FileUtil.isPack200Supported()) + msg += " (or requires Pack200 which is unsupported in this JVM)"; + statusDone("<b>" + msg + "</b>"); return null; } File installProps = new File(tempDir, "plugin.config");