简体   繁体   English

在JNLP Web Start应用程序中加载第三方许可证

[英]Load third party license in JNLP Web start Application

I have a JNLP application that is executed from Java Web start applications. 我有一个从Java Web start应用程序执行的JNLP应用程序。 The application uses eParaksts digital signature. 该应用程序使用eParaksts数字签名。 All the required jars are loaded and signed. 所有必需的罐子均已加载并签名。 They work properly. 他们工作正常。 However, the jnlp requires certain eParaksts licenses to be configured in the class path as they are read by the third party libraries. 但是,jnlp要求某些eParaksts许可证在类路径中配置,因为它们由第三方库读取。

When the JNLP is executed as standalone, it is able to read classpath files mentioned in the config folder but unable to read when executed using web start. 当JNLP独立执行时,它能够读取config文件夹中提到的类路径文件,但是在使用Web Start执行时无法读取。 How can I make my JNLP read this files? 如何让我的JNLP读取此文件?

What do you mean when you say 你说什么意思

When the JNLP is executed as standalone ... 当JNLP独立运行时...

You meant, when the application is run as a standalone Java application? 您的意思是,当应用程序作为独立Java应用程序运行时?

Java Web Start application cannot work with configuration folder/files the way a regular Java app does (see section resources Element ). Java Web Start应用程序无法像常规Java应用程序那样使用配置文件夹/文件(请参阅参考资料Element )。 If these eParaksts licenses are files, put them in a jar and deploy it as a JNLP resource. 如果这些eParaksts许可证是文件,请将它们放在jar中,并将其部署为JNLP资源。 They should be then in the classpath of the application. 然后,它们应该位于应用程序的类路径中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM