2

I downloaded the source code for an applet from here:

http://www.oxygenxml.com/demo/AuthorDemoApplet/author-component-dita.html

As instructed, I've used ANT to build it, however, the build is not successful, the ANT complains like this:

[signJar] jarsigner error:java.Lang.RuntimeException: keystore load :C\Users....{ The system cannot find the file specified}

From this error, I infer it is the java code signing certificate that is causing the problem, and I've done some research about it, it appears to me that I have to purchase. But since I am not deploying this applet to any webserver( including localhost). I was wondering if there is any way that I can solve this problem?

Thanks in advance for the suggestions!

Kevin
  • 6,711
  • 16
  • 60
  • 107

2 Answers2

2

You can create your own certificate using the jdk tool keytool.

Highland Mark
  • 1,002
  • 1
  • 7
  • 12
1

If the code is indeed not going to the outside world, or your work will be "trusted" in some other way, you can Self-sign a certificate using the keytool tool. It's included in the JDK.

A self signed certificate is one that is not signed by a certificate authority, and therefore you will have no 3rd party vouching for your authenticity, but if this is acceptable (and often it is), this is an appropriate method.

nrobey
  • 705
  • 4
  • 12