


OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode) OpenJDK Runtime Environment (IcedTea6 1.10pre) (7b15~pre1-0lucid1) If you have OpenJDK installed on your system it may look like this: Open up a terminal and enter the following command: To do this, you will have to run the Java version command from terminal. Check if you have Java installed on your system. Note the bit version of your Ubuntu Linux operating system architecture it will display whether it is 32-bit or 64-bit.Ģ. Check to see if your Ubuntu Linux operating system architecture is 32-bit or 64-bit, open up a terminal and run the following command below. I've also tried specifying the absolute path: /usr/lib/jvm/jdk1.7.0_21/bin/java -versionĬan someone please help me? I feel quite lost at this point.Īnd I can't seem to revert back to OpenJDK either.ġ. The difference, though is that now when I run java -version I get:īash: /usr/bin/java: No such file or directory I even made the following changes to my /etc/profile: Then, I went in and messed around a bit more, changed the priorities to 1, etc.
#ORACLE JAVA 1.7.0 64 BIT MANUAL#
usr/lib/jvm/jdk1.7.0_21/bin/java 1065 manual modeĪfterwards, when I ran java -version I got errors saying Java Virtual Machine could not be started. Sudo update-alternatives -install /usr/bin/jar jar /usr/lib/jvm/jdk1.7.*/bin/jar 1065ĩ) sudo update-alternatives -config java Sudo update-alternatives -install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.7.*/bin/javaws 1065 Sudo update-alternatives -install /usr/bin/javac javac /usr/lib/jvm/jdk1.7.*/bin/javac 1065 So I.ħ) Deleted the symlink I had created rm java-7-oracle hoping that it would only remove the symlink.Ĩ) Proceeded to execute the following commands: sudo update-alternatives -install /usr/bin/java java /usr/lib/jvm/jdk1.7.*/bin/java 1065 Jre javaws /usr/lib/jvm/java-7-oracle/jre/bin/javawsĦ) Then, for some perhaps ill-thoughtout reasons, I abandoned this approach in favor of a shorter one that I felt I better understood. Jre java_vm /usr/lib/jvm/java-7-oracle/jre/bin/java_vm Jre java /usr/lib/jvm/java-7-oracle/jre/bin/java Jre ControlPanel /usr/lib/jvm/java-7-oracle/jre/bin/ControlPanel
#ORACLE JAVA 1.7.0 64 BIT INSTALL#
I wanted to install Oracle Java 7 and have that be my system default.Ģ) Unpacked and moved it into /usr/lib/jvm/jdk1.7.0_21ĥ) Created file /usr/lib/jvm/.java-7-oracle.jinfo and proceed to populate it with info such as: alias=java-7-oracle Here is the system I started with: Linux Mint 14 Nadia MATE I apologize in advance for the long query that'll follow, but I'm very lost and wanted to include all pertinent information.
