Skip to main content

Determining Impact 6.1 and/or TIP 2.2 JAVA version (bitwise) on Solaris


Technote (FAQ)


Question

What's the best way to determine the java bit-level which both the Impact 6.1 Server and/or TIP 2.2 is using on a Solaris OS?

Answer

Run "$TIP_HOME/java/jre/bin/java -version" from the command-line:

Here's an example output of the 64-bit java on Solaris:
---------------------------------
java version "1.6.0_24"
Java(TM) 2 Runtime Environment, Standard Edition (IBM build 1.6.0_24-b07 16_Feb_2011_08_58 solaris sparcv9 (SR9 FP1))
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
IBM Java ORB build orb60-20100825.00
XML build XL TXE Java 1.0.24
XML build IBM JAXP 1.4.6
XML build XML4J 4.5.14
---------------------------------


Here's an example output of the 32-bit java on Solaris:
---------------------------------
java version "1.6.0_24"
Java(TM) 2 Runtime Environment, Standard Edition (IBM build 1.6.0_24-b07 16_Feb_2011_08_54 solaris sparc (SR9 FP1))
Java HotSpot(TM) Server VM (build 19.1-b02, mixed mode)
IBM Java ORB build orb60-20100825.00
XML build XL TXE Java 1.0.24
XML build IBM JAXP 1.4.6
XML build XML4J 4.5.1
---------------------------------


You can also determine the bit version by running:
$TIP_HOME/profiles/ImpactProfile/bin/tipBitnessMode.sh [32|64]
Here's an output example:
---------------------------------
# ./tipBitnessMode.sh 64
WebSphere Java Path: /opt/IBM/tivoli/tipv2/java
This is a 64 bit WebSphere binary.
---------------------------------


Finally you could try running the -version above with a -d64 option.
Run "$TIP_HOME/java/jre/bin/java -d64 -version" from the command-line, and if it's not 64 bit you'll see a message like the following:
---------------------------------
execve(): No such file or directory
Error trying to exec /opt/IBM/tivoli/tipv2/java/bin/sparcv9/java.
Check if file exists and permissions are set correctly.
Failed to start a 64-bit JVM process from a 32-bit JVM.
Verify all necessary J2SE components have been installed.
(Solaris SPARC 64-bit components must be installed after 32-bit components.)
---------------------------------


Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Tivoli Netcool/Impact

Netcool/Impact


Software version:
6.1


Operating system(s):
Solaris


Software edition:
All Editions


Reference #:
1620225


Modified date:
2012-12-20

Translate my page

Content navigation