Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2008

Tip: Looking for answers? Try searching our database.

Tomcat 32 bits vs Tomcat 64 bits

Thread view: 
zamba - 21 Mar 2008 03:52 GMT
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 !!!!!!!!
Lew - 21 Mar 2008 05:56 GMT
> 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.

Signature

Lew
The word "I" is capitalized.

zamba - 21 Mar 2008 13:23 GMT
> zambawrote:
> > Hi i'm new with Tomcat...i'm starting it in 64-bit mode on
[quoted text clipped - 7 lines]
> Lew
> The word "I" is capitalized.

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....
Lew - 22 Mar 2008 00:10 GMT
> 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.

Signature

Lew
The word "I" in English is always capitalized.

Arne Vajhøj - 22 Mar 2008 01:18 GMT
> 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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.