当我使用 Java Web Start 运行程序时,它没有显示错误
我将 Netbeans 配置为使用 Java Web Start 运行程序。 该程序编译得很好,但是当它运行时,它会尝试加载一个不在预期位置的文件(声音剪辑)。这里 Java Web Start 只是暂停。无论是在 Netbeans 的输出选项卡中还是在 Java 控制台中(这是当我打开 html 页面并将其作为小程序运行时它向我显示的内容),它都没有向我显示任何错误。
知道如何配置才能显示错误吗?
I configured Netbeans to run a program with Java Web Start.
The program compiles fine, but then when it runs, it tries to load a file (a sound clip) that was not in the place it expected to find it in. Here Java Web Start just pauses. It doesn't show me any errors, either in the output tab of Netbeans, or in the Java Console (which is what it shows me when I open the html page and run it as an applet).
Any idea how I can configure things so that errors are displayed?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
每当您处理 Java WebStart 时,启用 Java 控制台(请参阅“Windows 下的控制面板 -> Java”)并打开完整的调试日志是非常好的。
我假设您正在寻找堆栈跟踪是否正确?
Whenever you deal with Java WebStart it is really nice to enable the Java Console (see Control Panel -> Java under Windows), and turn on full debug log.
Am I right in assuming you are looking for a stack trace?