Java switch GRID

 3 Replies
 0 Subscribed to this topic
 32 Subscribed to this forum
Sort:
Author
Messages
This_Guy
Veteran Member
Posts: 93
Veteran Member

    For those of you familiar with the manageSDK cmd for WebSphere, I was really hoping there was a similar command/way that I can run to switch the version of Java my GRID install is using? GRID is currently installed using Java6_64, and I want to *switch* it to Java7_64. Anyone have any way of doing this? Or know of all the CFG files that would need to be modified to capture the change? (Trying to avoiding having to re-install) 

    This_Guy
    Veteran Member
    Posts: 93
    Veteran Member
      Just an update. There is a perl script that is delivered with Landmark runtime called: configurejava.pl - I ran this, and it appears to switch the Java from 6_64 to 7_64 successfully. But, still cant get GRID to come up with Java7. Here's output from the log:

      Starting Grid ...
      @@ h2 Starting the grid and grid agent
      @@ run "/usr/java7_64/bin/java" -cp "/grid-core.jar":"grid-installer.jar" com.lawson.gridI
      nstaller.ManageGrid start "grid name" GridHost
      Failed to connect to the GridAgent
      @@ run perl /appl/lmkgamma/env/install/install-core.pl -u
      Landmark and Grid have been changed to use java /usr/java7_64.
      Execute '. cv ' to reset environment variables
      Peter O
      Veteran Member
      Posts: 69
      Veteran Member
        Does configurejava.pl update the environment variables for the new %JAVA HOME DIRS%? Also, did you configure the "Java Executable Grid property"? (also found in Infor landmark Tech Server Setup & Maintenance > Grid Administration>Administering Grid > Changing the JDK/JRE for Grid host)
        Peter O
        Veteran Member
        Posts: 69
        Veteran Member
          Also FYI - step by step instructions available here: Infor Landmark Technology Installation Guides > Infor Landmark Installation Guide > Third-party migration > Migration Tools > Migrating to Java 1.7