jeudi 21 juillet 2011

64 bits or 32 bits?

1: how to determine the JVM that you are running is 64-bit or 32-bit?

    open the terminal and enter the following command:

    - java -d64 -version
 
    if it is a 64-bit system, you will get the following result:

        chen-macbook:~ cwang$ java -d64 -version
    Java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-9M3326)
    Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)


    otherwise, you will get the following result:

        chen@chen-VirtualBox:~$ java -d64 -version
    Running a 64-bit JVM is not supported on this platform.


2: how to determine your system is 64-bit or 32-bit?

    MAC OS:
        open the terminal and enter the command uname -p,
        if you get i386, that means your system is 32-bit, x86-64 otherwise.
    
 
Finished

  



 

Aucun commentaire:

Enregistrer un commentaire