I am getting my new laptop going and went to install the latest oracle JDK 7u25. I followed the instructions on this site to do it.
Afterwards when I type java --version in the terminal I get the error:
Error: Could not create the Java Virtual MachineI tried reinstalling it via a different method but the error wont go away. I am running Ubuntu 12.04 64bit.
1 Answer
Use:
java -versioninstead of:
java --versionHowever, it's still not excusable that such cryptic error message is produced for the extra dash sign. Especially because java is not an amateur software but a kind of the very best software.
5