dev@glassfish.java.net

Re: gf v3 installer on windows uses the jre even if there is a jdk...

From: Sathyan Catari <Sathyan.Catari_at_Sun.COM>
Date: Mon, 13 Jul 2009 00:42:39 -0700

This issue has been resolved in V3 FCS release with the introduction of
a new JDK Panel
that prompts and validates the JDK to be used by product.

HTH
Thanks
Sathyan

Natarajan wrote:
> I encountered this when I installed the JRE 6 instead of the JDK 6 from an
> executable. The Glassfish v3 which came in the form of an executable
> installed but I had many JSP related errors and other errors although I was
> able to log in to the admin console. What pointed me to the problem was when
> I tried to install Glassfish v2 using the jar file and the ant file wouldn't
> run complaining there was no tools.jar.
>
> When I installed the JDK, the problem went away.
>
>
> Ludovic Champenois wrote:
>
>> Hi,
>>
>> I recently start testing on Windows.
>> I first Installed JDK 1.6 update 10 (the JDK).
>> Then tried to installed v3 prelude with the latest installer....
>> The installation goes well, I can start the server, but when I run a
>> JSP, I get this blocking error:
>>
>>
>> SEVERE: StandardWrapperValve[jsp]: PWC1406: Servlet.service() for
>> servlet jsp threw exception
>> org.apache.jasper.JasperException: java.err.nojdk
>> at
>> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:89)
>> at
>> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:375)
>> at
>> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
>> ...
>>
>>
>> How come? I would expect an installer to correctly detect installation
>> errors...
>>
>> Ludo
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>>
>>
>>
>
>