dev@glassfish.java.net

Re: Problems building GlassFish?

From: Dinesh Patil <Dinesh.Patil_at_Sun.COM>
Date: Wed, 06 Dec 2006 13:04:29 -0800

Ken Cavanaugh wrote:

> I am trying to build GlassFish (with JDK 1.5.0_10 on 64 bit linux)
> using the commands:
>
> cvs co glassfish/bootstrap
> cd glassfish/bootstrap
> maven checkout bootstrap-all build configure-runtime
>
> This is starting with an empty directory.
> The build fails every time in appserv-core-ee/appserv-core in the
> com.sun.enterprise.ee.security.EESecuritySupportImpl
> class because the class sun.security.pkcs11.SunPKCS11 is not found.
>
> Where is SunPKCS11? It's certainly not in the JDK rt.jar.

This is present in $JAVA_HOME/jre/lib/ext/sunpkcs11.jar
so pls check the JDK installation and env variable JAVA_HOME in PATH
variable.
thanks
Dinesh

> Thanks,
>
> Ken.