LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-20-2013, 05:31 AM   #1
nerdofdarkness
LQ Newbie
 
Registered: Oct 2013
Posts: 28
Blog Entries: 1

Rep: Reputation: Disabled
Linux Mint on Intel CPU, will the AMD Java work properly? Also JAVA_HOME


I installed Linux Mint on a machine with an Intel CPU, but my Java appears to be

/usr/lib/jvm/java-7-openjdk-amd64

So I tried to run a .jar file and it complained about JAVA_HOME.

So I used "export" to set my $JAVA_HOME to that path but I don't know if that's right.

Just to be sure, I hope I'm not missing some Intel-specific version of Java.

Thanks!
 
Old 10-20-2013, 05:38 AM   #2
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,657

Rep: Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911
If your CPU and Linux version are 64 bit ones (you can check this by running "uname -a" without the quotes on the command-line) then you should generally be using the AMD64 versions of applications if you can.
The reason the architecture is called AMD64 is because it was invented by AMD and Intel license the technology from them to use in their CPUs. For 32 bit applications you usually see them marked as i386 or i686 referring to the model numbers of the Intel CPUs that use the instruction sets they are compiled for:
https://en.wikipedia.org/wiki/Amd64
 
2 members found this post helpful.
Old 10-21-2013, 10:27 PM   #3
nerdofdarkness
LQ Newbie
 
Registered: Oct 2013
Posts: 28
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
If your CPU and Linux version are 64 bit ones (you can check this by running "uname -a" without the quotes on the command-line) then you should generally be using the AMD64 versions of applications if you can.
The reason the architecture is called AMD64 is because it was invented by AMD and Intel license the technology from them to use in their CPUs. For 32 bit applications you usually see them marked as i386 or i686 referring to the model numbers of the Intel CPUs that use the instruction sets they are compiled for:
https://en.wikipedia.org/wiki/Amd64
uname -a returns:

38-Ubuntu SMP Mon Jun 17 21:43:33 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


So I guess as far as Linux is concerned, this is an x86_64 machine.

Thanks.

I guess JAVA_HOME is supposed to refer to the major directory that contains /bin and /jre subdirectories. It seems that different versions of java install different subdirectories in different places, though.

I'm not sure whether it will become necessary to have several different settings for the $JAVA_HOME variable.

Thanks again.
 
Old 10-22-2013, 01:10 AM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,657

Rep: Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911
Just ton confirm. Yes, the x86_64 is another term for AMD64 used because it is a 64 bit extension of the x86 architecture. I know that is in the Wikipedia article I linked to but I though it worth putting here for clarity.
 
  


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
Intel or AMD CPU is better for overclocking? future_computer Linux - Hardware 59 10-26-2012 12:40 PM
AMD CPU Generating Way More System Load Than Intel Xeon CPU? kresyzig Programming 1 10-11-2010 09:35 AM
Going from intel to AMD CPU/MB; Will Ubuntu start if I swap the disk the HD? jeepescu Linux - Hardware 3 07-21-2008 05:35 PM
Can E4400 CPU work properly on linux 2.4.20? hallman Linux - Hardware 2 09-18-2007 01:44 AM
What AMD CPU is comparable to P4 intel cpu? ngjunkie0011 Linux - Hardware 8 08-29-2007 12:47 AM


All times are GMT -5. The time now is 01:54 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration