Unable to run gwcheck on SLES 11 SP3

  • 7012963
  • 31-Jul-2013
  • 31-Jul-2013

Environment

SUSE Linux Enterprise Server 11 Service Pack 3
Novell GroupWise

Situation

Unable to run gwcheck on SLES 11 SP3
Launching, loading /opt/novell/groupwise/gwcheck/bin/gwcheck displays one of the following errors:
  • Running a 32-bit JVM is not supported on this platform.
  • Could not find JRE with version 1.5 (or later).
    Please install the JRE or set the JAVA_HOME environment variable.
  • Error: This Java instance does not support a 32-bit JVM.
    Please install the desired version.

Resolution

Please follow the steps below to add the JAVA_HOME path to gwcheck:
  1. Download .tar.gz 32-bit JDK or JRE from Oracle
  2. Extract the download to a directory on the server.
  3. Edit /opt/novell/groupwise/gwcheck/bin/gwcheck
  4. Add the following to the second line:
    JAVA_HOME="/usr/java/jdk1.7.0_25"
    Note: Replace "/usr/java/jdk1.7.0_25" with the full path to the extracted java directory from step 2.
  5. Save and close.

Cause

GWCheck is unable to find the required 32-bit java files for launch.