dev@glassfish.java.net

Re: How do I switch java during 'asadmin start-domain'

From: Sahoo <sahoo_at_sun.com>
Date: Mon, 03 Nov 2008 14:50:33 +0530

Byron Nevins wrote:
>
> Here is the order of precedence for JDKs when starting a domain via
> the Launcher (i.e. asadmin start-domain)
>
> 1. Domain.xml (java-home inside java-config)
> 2. asenv
> 3. JAVA_HOME environmental variable
> 4. System.getProperty("java.home") + "../"
> 5. System.getProperty("java.home")
>
When the code finds an invalid path in any of the above cases, does it
report a WARNING or not before trying to use the next item? I think it
should.

Thanks,
Sahoo