为什么Java的告诉我,我的小应用程序包含符号和无符号code? [英] Why does Java tell me my applet contains both signed and unsigned code?

查看:170
本文介绍了为什么Java的告诉我,我的小应用程序包含符号和无符号code?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我签署的Java小程序已经运行良好,直到Java的更新19.现在一些但不是所有的使用者基于Java更新19报告Java安全消息,说明我们的小程序包含符号和无符号code

My signed Java applet has been running fine until Java update 19. Now some but not all of our users on Java Update 19 report a java security message stating that our applet contains both signed and unsigned code.

创建我们的小应用程序的过程如下:

The process for creating our applet is as follows:


  1. 清理并生成在NetBeans IDE中的小程序的项目。

  2. 打开在Wi​​nRAR Applet的jar文件和所需要的MySQL JDBC驱动程序的.class文件添加到jar文件。

  3. 登入该applet jar文件。

有人能告诉我如何确定哪些code签订什么code未在我们的小程序签名吗?有没有更好的办法,包括MySQL JDBC驱动程序的jar在我们的小程序不是复制的jar文件内容到我们的小程序jar文件等文件?

Can someone please tell me how to determine what code is signed and what code is not signed in our applet? Is there a better way to include the mysql JDBC driver jar file in our applet other than copying the jar file contents into our applet jar file?

感谢

推荐答案

有些事情要尝试:


  • 转到Java插件控制面板($ JAVA_HOME /斌/ ControlPanel控制)。

  • 转至高级标签。

  • 展开调试

  • 检查启用跟踪启用日志记录显示小应用程序生命周期异常

  • 展开 Java控制台

  • 检查显示控制台

  • 点击确定(或关闭,根据您的操作系统)

  • Go to the java plugin control panel ($JAVA_HOME/bin/ControlPanel).
  • Go to the Advanced tab.
  • Expand Debug
  • Check Enable tracing, Enable logging, and Show applet lifecycle exceptions
  • Expand Java console
  • Check Show console
  • Click OK (or Close, depending on your OS)

当您的小应用程序加载Java控制台将打开。点击它,并立即preSS'5'。它会记录的罐子和类是取到运行小程序。某处在这里面应该指出哪些JAR或类是考虑签名的消息。如果你错过了它的第一次,只是重新加载窗口再次尝试。

When your applet loads the Java console will open. Click on it and immediately press '5'. It will log the jars and classes being fetched to run your applet. Somewhere in this there should be a message indicating what jars or classes are consider "unsigned". If you miss it the first time, just reload the window to try it again.

这篇关于为什么Java的告诉我,我的小应用程序包含符号和无符号code?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆