There is probably a setting in the app server that you need to change to use something other than the default JDK. Also, some app servers (like WebSphere and WebLogic) require a specific JDK and you will not be able to change it.

Matt

------------------------------

message: 4
date: Wed, 22 Sep 2010 13:02:45 -0600
from: Ken <ken.mcwilliams@xxxxxxxxxx>
subject: RE: How to Set Java Version

Well that is an improvement, after exporting the variable (thanks steve)
it does show 1.6 at the green screen prompt and in qshell... but
not in the app server.

On Wed, 2010-09-22 at 14:39 -0400, Alex Pinsky wrote:

After you add environment variable go to qsh and type java -version

Make sure it displays something like this:
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
Classic VM (build 1.5, build JDK-1.5, native threads, jitc_de)
$

Of course in your case it should say 1.6 :-)

Alex

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.