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
Edy1988Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

HonorGodSoftware EngineerCommented:
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
HonorGodSoftware EngineerCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.