dev@glassfish.java.net

Re: Problems building GlassFish?

From: Ken Cavanaugh <Ken.Cavanaugh_at_Sun.COM>
Date: Wed, 06 Dec 2006 13:38:49 -0800

On Wed, 2006-12-06 at 13:34 -0800, Ken Cavanaugh wrote:

> On Wed, 2006-12-06 at 13:04 -0800, Dinesh Patil wrote:
>
> > 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.
>
>
> JAVA_HOME is set to JDK 1.5.0_10, and I just downloaded and installed
> the JDK from the usual sun location.
> But there is no sunpkcs11.jar file present. Where does it come from?
>

I just noticed that sunpkcs11.jar is present on the Solaris sparc JDK
(even as early as 1.5.0_08), but not on
Linux. How do I get this jar file or otherwise build GlassFish on
Linux, which is my normal work environment?

Thanks,

Ken.