quality@glassfish.java.net

Re: Regarding application deployment

From: Homer Yau <Homer.Yau_at_Sun.COM>
Date: Fri, 27 Mar 2009 11:25:26 -0700

Update.
c:\jdk and /usr/jdk are where you installed your JDK.

Thanks,
Homer

Homer Yau wrote:
> Hi Vikramijt Singh Virk,
>
> Please try the following:
>
> On Windows (set user or system environment variable)
> set JAVA_HOME=c:\jdk
> set PATH=c:\jdk\bin;%PATH%
>
> On Unix ( on bash shell)
> export JAVA_HOME=c:\jdk
> export PATH=c:\jdk\bin;%PATH%
_Correction_
On Unix ( on bash shell)
export JAVA_HOME=/usr/jdk
export PATH=/usr/jdk/bin;$PATH

> Restart server and access the url again.
> Please let us know whether, it works for you or not.
>
> Thanks,
> Homer
>
>
> Kristian Rink wrote:
>> Vikramjit;
>>
>> Vikramjit Singh Virk schrieb:
>> [...]
>>
>>> *exception*
>>>
>>> org.apache.jasper.JasperException: java.err.nojdk
>>>
>>> *note* _The full stack traces of the exception and its root causes are
>>> available in the GlassFish/v3 logs._
>>>
>>
>> A quick shot here: Do you have a Sun JDK or just a JRE installed? In some
>> situations (not using Glassfish, though) in my early days I used to stumble
>> across errors like these running application servers without having a JDK
>> installed...
>>
>> Can you provide the log output on that, too?
>>
>> Cheers,
>> Kristian
>>
>>
>