Linux (Ubuntu) Java 插件和控制台
我正在尝试在 Ubuntu 10.10 的 Firefox 中测试 Java 小程序。不幸的是它不能开箱即用。我有两个问题:
默认情况下使用 IcedTea 插件,但我不信任该插件。我安装了只需删除冰茶即可解决此问题。sun-java6-plugin
但不知道 Firefox(和其他浏览器)现在使用哪一个。我如何确定?- 我没有控制台。通常可以通过 Windows 中的托盘图标访问它,但这里不行(
也许这会被 #1 自动修复不,不是)。有这个插件,但它不再起作用了。 更新:我已经通过转到Java控制面板并在高级选项卡中选中“显示控制台”来解决这个问题,但现在控制台总是弹出,这还不是很完美。
我正在通过 JNLP 部署小程序。如果有帮助的话,您可以在此处查看。我将 sun-java6-jdk
作为默认 Java。
(很抱歉,如果这个问题属于 SuperUser 或其他网站,但我认为对于 #2 尤其是这是一个与编程相关的问题)
I'm trying to test a Java applet in Firefox in Ubuntu 10.10. Unfortunately it doesn't work out of the box. I have two issues:
By default the IcedTea plugin was used, which I don't trust. I installedFixed this by simply removing icedtea.sun-java6-plugin
but have no idea which one is used by Firefox (and other browsers) now. How can I make sure?- I have no console. It's usually accessible via a tray icon in Windows, but not here (
maybe this will automatically be fixed by #1 thoughNo it wasn't). There's this addon but it doesn't work anymore.
Update: I've sort of fixed this by going to the Java control panel and checking "Show Console" in the advanced tab, but now the console always pops up which isn't quite perfect yet.
I'm deploying the applet via JNLP. You can see it here, if it helps. I have sun-java6-jdk
as the default Java.
(Sorry if this question belongs on SuperUser or another site, but I figured that with #2 especially this is a programming related question)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
With :
你可以设置默认的jre(在本例中是64位的)
:
你可以看到版本
With about:plugins 你可以看到firefox正在使用哪个jre
With :
You can set the default jre (in this case a 64 bits one)
with:
you can see the version
With about:plugins you can see which jre firefox is using