Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

running java and applications on 64-bit processors

 
Benjamin Weaver
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18169
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15288
39
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic