Tomcat 32 bits vs Tomcat 64 bits

Z

zamba

Hi i'm new with Tomcat...i'm starting it in 64-bit mode on
Solaris....but i need to use a 32-bit library....i want to know if the
difference between 32-64 bits in jvm are really important......

tks !!!!!!!!
 
L

Lew

zamba said:
Hi i'm new with Tomcat...i'm starting it in 64-bit mode on
Solaris....but i need to use a 32-bit library....i want to know if the
difference between 32-64 bits in jvm are really important......

I run a 64-bit Tomcat with JARs intended for 32-bit JVMs all the time. Java
doesn't care; the differences are subsumed in the JVMs. Bytecode is bytecode.
 
Z

zamba

zambawrote:

I run a 64-bit Tomcat with JARs intended for 32-bit JVMs all the time.  Java
doesn't care; the differences are subsumed in the JVMs.  Bytecode is bytecode.

Lew, i have the problem that java sends me a null pointer exception
when try to intantiate a binary class wich is intended for 32 bits
running under TOMCAT wich was started with -d64 option....
 
L

Lew

zamba said:
Lew, i [sic] have the problem that java sends me a null pointer exception
when try to intantiate a binary class wich is intended for 32 bits
running under TOMCAT wich was started with -d64 option....

And it runs correctly when you don't use that switch?

The thing is, classes aren't intended for 32-bit nor 64-bit JVMs, just for
JVMs. Your problem must lie elsewhere.

Bytecode is bytecode.
 
A

Arne Vajhøj

zamba said:
Hi i'm new with Tomcat...i'm starting it in 64-bit mode on
Solaris....but i need to use a 32-bit library....i want to know if the
difference between 32-64 bits in jvm are really important......

If it is pure Java, then 32 or 64 or 57 bit does not matter.

If the Java code calls native code via JNI then there may
be an issue.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top