trying to install java7 on Ubuntu 12.0.4 64 bit
Downloaded the jre7 *.tar.gz file, moved it to/usr/local so I could install there and have all users use it, then ran tar -zxvf to extract it, but ./configure, make, and make install tell me there is nothing to configure, make, or install
I also never get an opportunity to accept a license, even if I find and download a java6 .bin file. What am I doing wrong? |
|
Quote:
|
In case you don't like apt-get for java installation...
1. open Terminal. When it opens, run the commands below to remove all other installations of OpenJDK from your system. sudo apt-get purge openjdk* 2. download Java JDK package (eg.jdk-7u5-linux-x64.tar.gz) 3. extract the downloaded package at any location of your choice... tar -xvf <path-to-your-favorite-folder> 4. create a folder (final destination for JDK files and folders) sudo mkdir -p /usr/lib/jvm/jdk1.7.0 5. move all the JDK files and folders to this new location sudo mv <folder-where-jdk-was extracted>/* /usr/lib/jvm/jdk1.7.0/ 6. copy and paste each command as shown below one-at-a-time to enable Java JDK, press Enter after each line. sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0/bin/java" 1 sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.7.0/bin/javac" 1 sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.7.0/bin/javaws" 1 7. you may modify the PATH variable in your ~/.profile to reflect the JDK whereabouts. Hope this will help! Next enable java-plugins in Firefox 8. create a Mozilla plugins folder in your home directory. mkdir ~/.mozilla/plugins/ 9. create a symbolic link to your Mozilla plugins folder. For 32-bit systems, replace ‘amd64’ with ‘i386’. ln -s /usr/lib/jvm/jdk1.7.0/jre/lib/amd64/libnpjp2.so ~/.mozilla/plugins/ |
All times are GMT -5. The time now is 06:31 AM. |