Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 893
  • Last Modified:

WebSphere 6.0 on AIX 32/64 bit

HI,

We just learned that WAS 6.0.2 on AIX can be 32 bit or 64 bit.

Question-> for a given WAS, how do we know if it is 32 bit or 64 bit?

Thanks
0
Edy1988
Asked:
Edy1988
  • 2
1 Solution
 
HonorGodCommented:
at a command prompt:

# cd /opt/WebSphere/AppServer/bin                       << Your directory may not match exactly
# . ./setupCmdLine.sh                                            << This line starts "period space period slash"
# echo $JAVA_HOME                                              << Verify that JAVA_HOME is now in WebSphere directory structure
# $JAVA_HOME/bin/java -version                             << Should display information about the java version
 ...                                                                         << The result should contain -32 or -64 to show the word size
0
 
Edy1988Author Commented:
Can't a Java 32 bit work with WebSphere 64 bits, and the opposite?
0
 
HonorGodCommented:
Sorry, I don't understand the question.

If you are asking if an application compiled by a 32 Java compiler can successfully execute on a 64 bit JRE, then the answer is yes.  The reverse, however, may not be true.

Consider the reason behind the larger word size.  This allows larger objects, and address spacing.  So, a 64 bit JRE allows more objects, and larger objects to be used.

It is possible for an application to be developed using a 64 bit environment that would define objects that would be too large to be executed in a 32 bit JRE.

Hopefully this answers your question.

If I have misunderstood, please forgive me.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now