I finished some steps of installation of jdk-7u1 in Ubuntu 1.11 until below steps.
after that step the terminal tells that there is nothing to configure.
I am trying to install jdk for 32-bit OS. Followed the below steps,
1. wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" http://download.oracle.com/otn-pub/java/jdk/6u38-b05/jdk-6u38-linux-i586...
2. chmod u+x jdk-6u34-linux-i586.bin
3. ./jdk-6u34-linux-i586.bin
4. mkdir -p /usr/lib/jvm /usr/bin/java /usr/bin/javac /usr/bin/javaws
5.
I want to have two JDKs. The first one was installed a long time ago to /usr/lib/jvm/java-7-oracle/.
javac and javaws work from the command line but java for running a .class won't work.
I have updated my PATH, set JAVA_HOME, and checked links.
When I type java myclass I get "java" found in default-jre and a few others. When I run java -version the same thing, "java" found in default-jre.
I'm trying to use Sun Java jdk1.7.0 and the command line.
when I load the application, I get
Code:
/usr/lib/jvm/java-7-ibm/jre/bin/java/bin/java not found
????
How come it is not working?
I followed the instructions here
http://www.wikihow.com/Install-IBM-Java-on-Ubuntu-Linux
however I only loaded sdk since it has jre.
I have java installed correctly for sure.
aaa@ubuntu:~$ whereis java
java: /usr/bin/java /usr/bin/X11/java /usr/local/java /usr/share/java
aaa@ubuntu:~$ whereis javac
javac: /usr/bin/javac /usr/bin/X11/javac
But when I'm trying to add the location of /usr/bin/java in IntellyJ Idea12 as a java project sdk, I can't do that because it requires the folder and /usr/bin/java is a file.
Compiling is easy but when using java to run the programs, it gives Exception found. I am using Ubuntu 12.04 without internet connections. Also, installed Oracle JDK7 and JRE7. Also did the update-alternatives command on java, javac and javaws. Changed the machine java in /etc/profiles. PATH is pointing to oracle java folder.
When launching webex from firefox or chromium browser. Browser freezes and stops responding. Browser process must be killed to exit. Please help me troubleshoot this.
Here are my setup details and error messages I have gathered below:
Setup: Ubuntu 12.10 and all software updates installed.
Hello, the default java installation is openJDK.
/usr/bin/java -> /etc/alternatives/java
/etc/alternatives/java -> /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
I want to install JDK 1.6, and executed this command:
Code:
alternatives --install /usr/bin/java java /usr/lib/java/jdk1.6.0_45/bin/java 20000
But the symbolic link does change at all. What might be wrong?