users@glassfish.java.net

Re: [V3] Needs JDK?

From: <Jan.Luehe_at_Sun.COM>
Date: Wed, 14 May 2008 18:13:11 -0700

Kedar Mhaswade wrote:

> Isn't there a setting in default-web.xml that uses the Java 6 compiler
> API to generate the classes?


Actually, support for in-memory compilation of JSPs is auto-detected,
i.e., no need to specify anything in default-web.xml.

Jan

> I agree that by default, it tries to use
> javac executable. Like Snjezana mentions, we do need keytool executable
> to create the domain, while one uses the "installer" distribution of
> TP-2.
> The zip distribution does not need the keytool for the default domain.
>
> - Kedar
>
> Jerome Dochez wrote:
>
>> Hi Raju
>>
>> The main reason why we need the JDK is for JSP compilation which uses
>> the JDK compiler. To be able to support running on the JRE we would
>> need to have a distribution with the JSP Container stripped out. If
>> there is enough interest, this is certainly something we could look
>> into.
>>
>> Jerome
>>
>> On May 14, 2008, at 4:47 PM, glassfish_at_javadesktop.org wrote:
>>
>>> I attempted to run my application on GFV3 with a vanilla install of
>>> OpenSolaris 2008.05 which only comes installed with a JRE 1.6.x
>>> There were a bunch of errors which got resolved when I installed and
>>> started GFV3 using java from JDK.
>>>
>>> Where does the dependency on the JDK come from? Removing that
>>> dependency and making it work with a JRE will make V3 similar to
>>> Tomcat. Any plans for fixing it in V3 TP3?
>>>
>>> _raju
>>> [Message sent by forum member 'uppalapati' (uppalapati)]
>>>
>>> http://forums.java.net/jive/thread.jspa?messageID=274421
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>