EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
  • 1.  Change Java version

    Posted 07/22/15 06:33 AM

    Hi,

    we want to upgrade the Java version of the WAS 8.5.5 and the Admin Console etc. from Java version 6 to 7.

    Java 7 is already installed on Power8 running with IBM I.

    We tried to change the Java Home but this had no effect.

     

    Is there a tutorial ?

     

    Kind regards!

    Marcel-D


  • 2.  Re: Change Java version

    Posted 07/22/15 09:15 AM

    Hi Marcel,

    You might have better success posting this question on the WAS forum

    Daron

    canutri


  • 3.  Re: Change Java version

    Posted 07/22/15 12:01 PM

    Marcel,

     

    Are you asking how to change it for WAS 8.5.5 that is running with the IDE or WAS 8.5.5 on our IBM i box?

     

    take care.

     

    Mark

    markevans


  • 4.  Re: Change Java version

    Posted 07/22/15 05:13 PM

    Marcel,

    I found this link (among others) on how to update WAS 8.5.5 to use Java 7. 

    https://www.ibm.com/developerworks/community/blogs/aimsupport/entry/installing_optional_java_7_x_on_websphere_application_server_8_5_0_0?lang=en

     

    You did not say if your issue was or was not within the IDE, but I tried and was successful in updating my WAS 8.5.5 to use Java 1.7 today.  There may be an easier way in the WAS knowledge center or by using Fix Central, but below are the steps I took:

    a.)  Downloaded the following install image from Passport Advantage:

                WAS TE V8.5.5.2 Java 7 Ext for IBM Rational Application Developer for WebSphere Software v9.1 ML MP  eAssembly (PN CRRW1ML).  This contains an image (PN CIY6AML) which is a zip file. 

                You are entitled to this assuming you have a valid RBD license as it is one of the optional images we include with RBD to allow you to use optional WAS configurations.

    b.) Unzipped and changed my repository preference in installation manager to point to the "disktag.inf" in the directories

    c.) Ran Installation Manager and did an "install" into my current WAS v8.5.5. package.   This should installs the 1.7 JDK under your existing WAS 8.5.5 directories.   for me it created a java_1.7_32 folder in the WAS 8.5 installation directories

    d.) Used Installation manager to update to the latest WAS and JDK levels (for me it updated from 8.5.5.0 to 8.5.5.6 and the newest JDK levels.   I think 8.5.5.2 is the minimum for 1.7 based on what I read.

    e.) Started WAS 8.5.5.  By default it still used Java 1.6.

    f.) Opened the Admin Console and going to Servers->Server Types->WebSphere Application servers->server1, it opened a configuration page (see screen shot WAS_config.jpg) and in the  "Server Infrastructure" section you can "Java SDKs" (in red box). 

    g.) Choose Java SDKS and you should see a list of installed jdks (see screen shot WAS_jdk_list.jpg)

    h.) I chose the 1.7 version and clicked the "make default" button.

    i.) restarted WAS and it changed over to 1.7 when it started up.

     

    Like I said there may be other ways, but this worked for me.

    Mark

     

     

    markevans


  • 5.  Re: Change Java version

    Posted 07/23/15 02:22 AM

    Hi Mark,

    thank you that works well!

    But now only the WAS runs with Java 1.7.

     

    The Websphere HTTP Admin Console still runs with Java 1.6

    .

     

     

     

    It is possible to change this too?

     

    Kind regards

    Marcel!

     

    Marcel-D


  • 6.  Re: Change Java version

    Posted 07/23/15 08:45 AM

    Marcel,

    From your screen shot, I assume you are talking about the HTTP Server running on IBM i.  Is this correct?

     

    If so, then unfortunately, you are working on something I have not done since it is not part of RBD and we don't use an HTTP server withing RBD itself.

     

    I would google specifically what you want to do (Java 7 WebSphere HTTP) and see if you get any hits to help you resolve this.

     

    A question (and I mean a question) .does it really matter which JVM the HTTP server is using?  I would think the "java" used in an application would be in WAS only.   Not saying you don't need to change, just asking.

    Mark

    markevans


  • 7.  Re: Change Java version

    Posted 07/27/15 02:27 AM

    Hi Mark,

    thank you for the reply.

    Yes we are talking about the HTTP Server running on IBM i.

    It doesn't matter which JVM the HTTP server is using, but we want the same Java version for all Server.

     

    Thank you for your help!

    Kind regards

    Marcel!

    Marcel-D