Home > Install Java > Install Java Runtime Environment Ubuntu 12.04

Install Java Runtime Environment Ubuntu 12.04

when saying lykeion is meaning that you have to put the path to wherever you put the JDK on your system there. To do this, you will have to run the Java version command from terminal. This will open the Terminal, which is Ubuntu's version the the Windows Command prompt, though the Terminal has many more features. It was very helpful to me. have a peek here

Select Internet & Network -> Web Browser -> Java & JavaScript, and change the Path to Java executable to either /usr/lib/jvm/java-6-ibm-powerpc/bin/java or java (without any quotes). The time now is 11:44 AM. Did this article help you? Note also that the ppa package does a number of other "update-alternatives" calls, for various installed programs that use java. –nealmcb Jun 1 '14 at 22:30 add a comment| up vote https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get

up vote 142 down vote favorite 63 How do I install Java, including in my browser, so websites with Java work? This question is about OpenJDK. –Lekensteyn Jun 13 '11 at 19:01 The one that is marked (in orange) is the open-jdk java6 runtime! –Alvar Jun 13 '11 at 19:27 Reply Virendra Rajput says: July 18, 2013 at 10:10 AM Thank you for such a great tutorial! After downloading and extracting the jdk-7u4-linux-x64.tar.gz, moving it from my Downloads folder to /usr/lib/jvm, and installing it according to Damien's «hard way» instructions, Synaptic shows that the following files are installed

By continuing to use our site, you agree to our cookie policy. There are two types of 'InstallAnywhere' package available to you: the 'Archive/tgz' only extracts the files to your system, whereas the 'Installable' package supposedly also configures your system. Great tutorial! Once completed, you then need to tell the system where to find the new java commands.

It is targeted for Mozilla and compatible browsers that support the NPAPI. Subscribe now for more great web hosting articles. Currently there are no .deb packages available for Oracle Java 8. https://www.liquidweb.com/kb/how-to-install-oracle-java-8-on-ubuntu-12-04-lts/ Set the environment variables:sudo update-alternatives --config javac sudo update-alternatives --config javaYou will see an option like the screenshot below:Enter the option that corresponds to the SUN JDK package.

Type/Paste/Copy: cd /opt/google/chrome/plugins This will change you into the Google Chrome plugins directory. Open a terminal. Now, copy and paste the following command into the Terminal window. How can 'HD 140283' be older than the universe?

OpenJRE Or by opening a terminal and typing sudo apt-get install openjdk-7-jre The openjdk-7-jre package contains just the Java Runtime Environment. http://askubuntu.com/questions/48468/how-do-i-install-java It's Hat Season…Announcing Winter Bash 2016 Linked 142 How do I install Java? 226 Are PPA's safe to add to my system and what are some “red flags” to watch out Aug 24, 2012 at 7:39 am Matt saysFor some reason it says the file usr/lib/jvm doesn't exist, do I have to make a new folder called jvm or is it something sudo apt-get purge openjdk* After that, go and download Java JRE package from here.

To use a different VM other than the default, just add the appropriate option to the command you normally use. navigate here content contest Incremental Quine If a Ferengi woman is forbidden to speak with a stranger, how is she going to fall in love and meet her future husband? Thanks in advance, Best regards. Adv Reply May 3rd, 2012 #10 sammiev View Profile View Forum Posts retired Join Date Jul 2008 Beans 2,887 Re: How can I get Java (JRE/JDK) for Ubuntu 12.04?

How-To/Tips Linux Windows Ubuntu WordPress How-To/Tips Linux Windows Ubuntu WordPress Liberian Geek Proudly powered by WordPress UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore ›AppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or If a Ferengi woman is forbidden to speak with a stranger, how is she going to fall in love and meet her future husband? If installed correctly, you should see a "Your java is working" message. Check This Out Yes No Cookies make wikiHow better.

Reply Lews says: May 8, 2014 at 1:22 PM Excellent! I included a section on how to enable Oracle Java JRE in your web browsers as well using this method. share|improve this answer edited May 10 at 19:28 David Foerster 12.4k103359 answered Jul 17 '12 at 0:42 Kaktarua 1,314621 1 Can this work also for Mathematica?

The 'Installable' package also provides an uninstall option.

Be aware, however, that it uses the rm command, which will completely remove files immediately and permanently from an important directory. It works even for the newest version 8, just change 1.7* for 1.8 wherever it appears. It pulls the packages from Oracle's website and installs them, comparable to the way Adobe Flash Player is being installed. However, one may install a supported version of Java (7 or 8) via Oracle's website, or via the WebUpd8 PPA.

Type/Paste/Copy: cd /usr/lib/mozilla/plugins This will change you into the directory /usr/lib/mozilla/plugins. If you want to develop Java programs then install the openjdk-7-jdk package: Also important is to install the wrapper for supporting Java applications on your web browser, the Iced-Tea Java Plugin. Make sure you select the correct compressed binaries for your system architecture 32-bit or 64-bit (which end in tar.gz). http://goglospex.com/install-java/install-java-runtime-environment-ubuntu-12-10.html This article is intended for those who only want to install Oracle Java JRE on their Debian based Linux systems, such as Debian, Ubuntu and Linux Mint.

This is no longer currently available in a supported Ubuntu repository. share|improve this answer edited Apr 7 '12 at 14:16 answered Apr 7 '12 at 13:55 Jonas Christensen 312 add a comment| up vote 2 down vote # current java release - Make sure you are in this directory before you make the symbolic link. Type/Paste/Copy: cd /usr/lib/mozilla/plugins This will change you into the directory /usr/lib/mozilla/plugins.

share|improve this answer edited Jan 29 '15 at 18:27 community wiki 3 revs, 2 users 70%Feldpausch All4 add a comment| protected by Community♦ Dec 22 '15 at 12:43 Thank you for more hot questions question feed lang-java about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation This documentation cover installation and enabling java for browser. Thanks a lot!

Required fields are marked *Comment Name * Email * Post navigation Previous Previous post: Disable Shutdown, Restart, Logout Prompts in Ubuntu 12.04 (Precise Pangolin)Next Next post: Quickly Share your Documents Folder Bought agency bond (FANNIE MAE 0% 04/08/2027), now what? I can mention that upon running «java -version» in a terminal, I get the same result as Damien, above :java version "1.7.0_04" Java(TM) SE Runtime Environment (build 1.7.0_04-b20) Java HotSpot(TM) 64-Bit Should I remove "Name" field in my newsletter sign up form?

Installing Oracle Java OpenJDK works fine for most people, but if you play Minecraft, you will want to use Oracle Java instead. Hi All, Right now, I have a clean installation of Ubuntu 12.04 x64 (Desktop Ed.) on my machine,..