Skip to main content

package javax.crypto does not exist

2 replies [Last post]
xj
Offline
Joined: 2008-02-24

I encountered the same problem as the following page and I successfully built openjdk 7 though.

http://mail.openjdk.java.net/pipermail/build-dev/2008-August/001383.html

Who knows the answer to this issue. I must have missed some instructions when building such JDK source not Open JDK. Is there any references?

Thanks in advance.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
srn
Offline
Joined: 2009-09-03

Hello,

I have the same problem. The work-around I used is to uncompress jce.jar from my JRE in build/classes:

cd jdk-7-ea-src-b69-jrl-13_aug_2009/build/linux-i586-fastdebug/classes
jar xf /usr/lib/jvm/java-6-sun/jre/lib/jce.jar

This is just an inelegant work-around.

Sorin

xj
Offline
Joined: 2008-02-24

Thanks for your workaround.
Another workaround I used now is to add jce.jar to bootclasspath in the make file.