How can I detect if 32bit or 64bit Java JDK (SDK) has been installed on my machine? I am running a 64bit Ubuntu.
2 Answers
To check, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
java -version
For 64-bit, you'll see 64-bit Server VM
instead of Client VM
. See image below:
Run the commands: java -d64 -version
or java -d32 -version
and you will get an error for the version that is not supported.