JBoss.org Community Documentation

1.1.2. Configuring Your Java Environment

You must have a working installation of JDK 1.5 or JDK 1.6 before you install JBoss Application Server. You can install the 32-bit or 64-bit JVM as per your requirements. In this guide we will show you how to install a 32-bit Sun JDK 5.0 on a Linux Platform and Microsoft Windows Platform. But before we do that let's take a look at some of the benefits of using a 64-bit JVM.

Benefits of 64-bit JVM on 64-bit OS and Hardware:

  • Wider datapath: The pipe between RAM and CPU is doubled, which improves the performance of memory-bound applications.

  • 64-bit memory addressing gives virtually unlimited (1 exabyte) heap allocation. However large heaps affect garbage collection.

  • Applications that run with more than 1.5GB of RAM (including free space for garbage collection optimization) should utilize the 64-bit JVM.

  • Applications that run on a 32-bit JVM and do not require more than minimal heap sizes will gain nothing from a 64-bit JVM. Barring memory issues, 64-bit hardware with the same relative clock speed and architecture is not likely to run Java applications faster than their 32-bit cousin.

Installing and Configuring 32-bit Sun JDK 5.0 or JDK 6.0 on Linux

Installing and Configuring 32-bit Sun JDK 5.0 or JDK 6.0 on Microsoft Windows



[1] Make sure you choose the appropriate file for your platform.