Building sunpkcs11.jar

Deneau, Tom tom.deneau at
Wed May 23 15:54:01 UTC 2012

I want to be able to modify and rebuild lib/ext/sunpkcs11.jar.

When I do a "make all; make images" everything completes successfully.
With javap, I can see my modified class in the build/linux-amd64/j2sdk-image/jre/lib/ext

When I use this built ext directory as a replacement of the Oracle 7U4 JRE, and run some code that does

	  KeyGenerator gen = KeyGenerator.getInstance("AES");
I get
      Test1, AES KeyGenerator not available
	at javax.crypto.KeyGenerator.<init>(
	at javax.crypto.KeyGenerator.getInstance(

This code runs successfully with the regular Oracle 7U4 JRE.

Am I missing something in the build process?

-- Tom Deneau

More information about the build-dev mailing list