LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-06-2010, 04:55 AM   #1
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 499

Rep: Reputation: 31
A question about OS, JDK/Java version and Jboss


Sometimes I am confused by the relationship between OS and JDK version.

Assumed we have an OS of 64-bit LINUX. I install a Jboss 5 on it. What a JDK should I use? A 32-bit? A 64-bit? Or regardless?
 
Old 08-06-2010, 08:15 AM   #2
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Whichever you prefer. If you are going to use other java software from your distro repositories, it would be wiser to match the arch to your OS. Not to mention that the server (64 bit) version is considerably faster than the client (32 bit) version.
 
Old 08-10-2010, 03:20 AM   #3
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 499

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by jay73 View Post
Whichever you prefer. If you are going to use other java software from your distro repositories, it would be wiser to match the arch to your OS. Not to mention that the server (64 bit) version is considerably faster than the client (32 bit) version.
Thanks for the answer. But it seems a little bit to understand.

Could you give an example and not using so much philosophic words?
 
Old 08-11-2010, 04:03 PM   #4
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
The 32 bit version of the jre is also known as the "client" runtime; the 64 bit version is called the "server" runtime. The server jre is often installed on servers but it will run find on a regular desktop, just as a 32 bit JDK will run fine on a server. It is just that the 32 bit version is not the best choice for a busy server as the 64 bit version generally has better performance (benchmarks can be found on the internet).

Now, there are plenty of java applications and libraries. Many of the libraries are included in the repositories. Some are "noarch", which means that they don't care whether you install a 32 bit or 64 bit jdk. Other ones are compiled to work with one or the other. The Eclipse IDE, for example, is available in 32 and 64 bit versions; if you match either with the wrong JRE, it will crash as soon as it is launched. If you install a 64 bit Linux OS, such libraries/applications will be 64 bit so it is better to install the 64 bit JDK if you want to make use of them - unless you fetch and install the 32 bit versions manually.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java JDK idgeitman Linux - Newbie 4 01-21-2010 02:53 PM
Installing JDK 6 version 14 with yum rasaan Linux - Software 4 07-20-2009 10:55 AM
xmacs java compiling error - jdk version problem lindope Programming 0 09-25-2008 09:58 PM
compile java JDK 1.4 kernelvn *BSD 2 06-21-2005 09:42 PM
Missing / Bad Version JDK 1.2 christer Linux - Software 2 10-16-2003 01:09 PM


All times are GMT -5. The time now is 03:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration