aspose file tools*
The moose likes Linux / UNIX and the fly likes running java and applications on 64-bit processors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "running java and applications on 64-bit processors" Watch "running java and applications on 64-bit processors" New topic
Author

running java and applications on 64-bit processors

Benjamin Weaver
Ranch Hand

Joined: Apr 08, 2003
Posts: 161
Dear All,

1. I have heard of problems arising from compiling and running many applications (e.g. Apache Tomcat, Lucene, PostGreSQL (8.3)) on 64-bit processors. What sort of problems am I likely to encounter and how should I fix them? We are will run Linux Redhat 5 on a Dell PE2950 III Quad Core Xeon E54 2.33 GHz, and a Dell PE2950 III Quad Core Xeon L5335 2.0 GHz.

2. Are there performance problems running (Tomcat, Lucene, PostGreSQL 8.3) on a 64-bit processor?


Thanks in advance.

Yours Ben Weaver
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

I've never seen any problems, assuming you are running all the appropriate 64 bit apps, JVM, etc. I've only used Java, Tomcat, Apache, and mysql, which all work great.

You do need more memory when running 64 bit stuff, but most folks only go to 64 bits when the system has more than 3GB, say 8GB or 12GB.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

I've been running a 64-bit machine for quite a long time now - 2 or 3 OS releases. It runs Eclipse and various other apps just fine and I debug J2EE using a variety of servers (Tomcat, JBoss, Weblogic).

The only problem with Java on my system is in the web browser. The applet plug-in doesn't support a 64-bit CPU, so applets won't run. Then again, neither will Flash, for the same reason.


Customer surveys are for companies who didn't pay proper attention to begin with.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14430
    
  23

The latest versions of Ubuntu, Fedora and other Linux distros come with OpenJDK, which is the (almost) open source version of Java 6 - and a 64-bit Java browser plug-in is included with it.

Unfortunately however, it doesn't work well with all applets on my 64-bit Ubuntu 8.04. Maybe it has something to do with the Compiz desktop effects, I've heard that there are some incompatibilities between Compiz and Swing.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

Originally posted by Jesper Young:
Unfortunately however, it doesn't work well with all applets on my 64-bit Ubuntu 8.04. Maybe it has something to do with the Compiz desktop effects, I've heard that there are some incompatibilities between Compiz and Swing.


Compiz and Netbeans don't get along at all. My solution is to run off Compiz, which is just eye candy anyway.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

Originally posted by Tim Holloway:The only problem with Java on my system is in the web browser. The applet plug-in doesn't support a 64-bit CPU, so applets won't run. Then again, neither will Flash, for the same reason.


I gave up on 64 bit for my client machine, because too many browser things, like flash, applets, parts of google maps, etc. didn't work.

As I've never had a problem moving .class files and .jars between 32 and 64 bit machines, I just run 32 on my laptop/desktop and 64 on the server. Not having Flash on a server is no problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: running java and applications on 64-bit processors