Solved

WebSphere 6.0 on AIX 32/64 bit

Posted on 2006-11-08
5
888 Views
Last Modified: 2013-12-10
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
Comment
Question by:Edy1988
  • 2
5 Comments
 
LVL 41

Expert Comment

by:HonorGod
ID: 17951133
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
 

Author Comment

by:Edy1988
ID: 17953697
Can't a Java 32 bit work with WebSphere 64 bits, and the opposite?
0
 
LVL 41

Accepted Solution

by:
HonorGod earned 100 total points
ID: 18605063
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
spring AOP 6 88
No context on this server matched or handled this request. 13 1,326
getSandwich  java challenge 22 106
how to pass values from bean to JSF page 4 98
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question