Linux operating system (32or64) identification number

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

Digit recognition of Linux operating system:

LINUX 32 bit operating system: Linux x86 i586 i386 i686 i...

LINUX 64 bit operating system: Linux x64 x86_64 X64 ...

$uname -a

Linux ubuntu 3.8.0-33-generic #48-Ubuntu SMP Wed Oct 23 17:26:34 UTC 2013 i686 i686 i686 GNU/Linux 32 bit

$uname -a

Linux KS-81 2.6.18-194.el5 #1 SMP Wed Oct 23 17:26:34 UTC 2013 x86_64 x86_64 x86_64 GNU/The Linux 64 bit


Note: the number of operating system will lead to different does not recognize the 2 hexadecimalExecutableFile, meet class like problem can view is not the operating system and to download the software is not the same!!!

The JAVA environment variable configuration system because of different digits to report/java: cannot execute binary fileError

Come straight in other machines on the SCP JDK folder, and then configure environment variables:


vi ~/.bashrc

In the end of the file with:

export JAVA_HOME=/home/dongwuming/bin/Jdk1.6.0_24 (Java installation folder)
export JRE_HOME=$JAVA_HOME/jre
export CLASSPATH=$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$PATH:$JRE_HOME/bin
Save source ~/.bashrc


Run the Java -verison command to view the Java version information, reported the following error:

bash: /home/dongwuming/bin/jdk1.6.0_24/bin/java: cannot execute binary file

$which java

/home/dongwuming/bin/jdk1.6.0_24/bin/java

java:Cannot execute binary file error reasonA two machine system digit (32or64) can't parse different to 2 hex file!


$Uname -a query your operating system to the official website to download the digits.:

JDK Download: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Sean at December 08, 2013 - 1:15 AM