Connexion

Google

La recherche instantanée Google n'est pas disponible. Appuyez sur Entrée pour lancer la recherche. En savoir plus
La recherche instantanée Google a été désactivée, car votre connexion est trop lente. Pensez à appuyez sur Entrée pour lancer la recherche.
Appuyez sur Entrée pour lancer la recherche.
Signaler des prédictions inappropriées
Tous
Vidéos
Actualités
Images
Shopping
Plus
MapsLivresVolsFinance
Paramètres
Paramètres de rechercheLangues (Languages)
Activer SafeSearch
Recherche avancéeHistoriqueAide sur la recherche
Outils
    Environ 12 200 000 résultats (0,57 secondes) 
    Looking for results in English?
    Change to English
    Continuer en Français
    Paramètres de langue

     
     

    Rappel concernant les règles de confidentialité de Google
    Me le rappeler plus tard
    Lire

    Résultats de recherche

    How To Install Java on Ubuntu with Apt-Get | DigitalOcean

    https://www.digitalocean.com/community/.../how-to-install-java-on-ubuntu-with-apt-...
    1. En cache
    2. Pages similaires
    13 févr. 2014 - Installing default JRE/JDK. This is the recommended and easiest option. This will install OpenJDK 6 on Ubuntu 12.04 and earlier and on 12.10+ it will install OpenJDK 7. Installing Java with apt-get is easy. First, update the package index: sudo apt-get update. Then, check if Java is not already installed:

    How To Install Java with Apt-Get on Ubuntu 16.04 | DigitalOcean

    https://www.digitalocean.com/.../how-to-install-java-with-apt-get-on-ubuntu-16-04
    1. En cache
    2. Pages similaires
    23 avr. 2016 - Introduction. Java and the JVM (Java's virtual machine) are widely used and required for many kinds of software. This article will guide you through the process of installing and managing different versions of Java using apt-get . Prerequisites. To follow this tutorial, you will need: One Ubuntu 16.04 server.

    openjdk - Documentation Ubuntu Francophone

    https://doc.ubuntu-fr.org/openjdk
    1. En cache
    2. Pages similaires
    Aller à Connaître puis changer la version de Java utilisée par défaut - Plusieurs versions de Java peuvent cohabiter sans problèmes particuliers. Pour connaître ou changer la version de Java utilisée par défaut, voir ce chapitre de la page Java. Modifier.
    software installation - How to set default Java version? - Ask Ubuntu
    https://askubuntu.com/questions/121654/how-to-set-default-java-version
    I followed all the instructions stated at this question, but am encountering some problems with... PLUS
    I followed all the instructions stated at this question, but am encountering some problems with the last part of it. I actually have version 6.22 of java and would like to update to version 6.30. So after moving the extracted directory java-6-oracle into /usr/lib/jvm I do not know what to do, since the script that is pointed out in the answer above updates from java 5 to java 6. For sake of clearness here is output if I do an ls in dir /usr/lib/jvm: matteo@matteo-ThinkPad-SL:/usr/lib/jvm$ ls -l total 8 lrwxrwxrwx 1 root root 14 2011-07-12 15:18 default-java -> java-6-openjdk lrwxrwxrwx 1 root root 14 2011-07-12 12:19 java-1.6.0-openjdk -> java-6-openjdk drwxr-xr-x 10 root root 4096 2012-04-12 12:06 java-6.31-oracle drwxr-xr-x 7 root root 4096 2012-02-24 14:43 java-6-openjdk What should I do now? ADDED PART Under the suggestion of @fossfreedom I ran the script anyway and actually it updated the java version. Infact if I run command java -version outpu will be the following: matteo@matteo-ThinkPad-SL:~$ java -version java version "1.6.0_31" Java(TM) SE Runtime Environment (build 1.6.0_31-b04) Java HotSpot(TM) Server VM (build 20.6-b01, mixed mode) There is still a problem, if Irun javac -version it gives me the old version installed: matteo@matteo-ThinkPad-SL:~$ javac -version javac 1.6.0_22 And if I use the tester at this link it will tell me that version is Java Version 1.6.0_22 from Sun Microsystems Inc. What's going wrong? It seems that Java Runtime Environment has updated, but Java Compiler and Java plugin for browser have not. How can I update them? OTHER ADDED PART sudo update-alternatives --config java will return following output matteo@matteo-ThinkPad-SL:~$ sudo update-alternatives --config java There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ------------------------------------------------------------ • 0 /usr/lib/jvm/java-6.31-oracle/bin/java 1062 auto mode 1 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual mode 2 /usr/lib/jvm/java-6.31-oracle/bin/java 1062 manual mode Press enter to keep the current choice[*], or type selection number: these makes sense with the fact that JRE is correctly updated to version 6.31, issues are on Java Compiler and Java browser plugin. Any ideas?
    5 answers
    Best Answer
    74 votes

    Re your first question: possibly you may be confusing that the webupd8 script is 0.5b. That is the version of the script - it doesnt refer to the java version. Further to the setting of the javac version. I suspect you need to explicitly give the path of the javac compiler i.e. sudo...
    Answer 2 of 5
    23 votes

    I think you should take a look at the update-java-alternatives command from the java-common package and the *.jinfo files used by it. With that you should be able to switch completely between java installations (regardless of JDK, JRE, ...).
    Answer 3 of 5
    21 votes

    See this; run sudo update-java-alternatives --list to list off all the Java installations on a machine by name and directory, and then run sudo update-java-alternatives --set [JDK/JRE name e.g. java-8-oracle] to choose which JRE/JDK to use. If you want to use different JDKs/JREs for each...
    Answer 4 of 5
    1 votes

    On ubuntu/linux you can switch java version using update-alternatives --config java But before, you need install the version. You can use this script (./install-java.sh) to install multiple JVMs #!/bin/sh ( lookforJdks=$PWD echo "Directory: $lookforJdks" jdks=`test -e ./javac || find...
    Answer 5 of 5
    0 votes

    If you are going to manualy set alternatives for javac javaws javadoc or any other java related commands, you might want to make them slaves of the java altenative. sudo update-alternatives --install "/usr/bin/java" "java" "/opt/jdk1.8.0_74/bin/java" 0 --slave "/usr/bin/javadoc" "javadoc"...

    How to Install Java on Ubuntu using apt-get [One step install]

    https://poweruphosting.com/blog/install-java-ubuntu/
    1. En cache
    3 mars 2017 - Learn how to install Java on Ubuntu with one command. One Guide shows you installing The default JDK, Open JDK, Oracle JDK with latest versions on Ubuntu.

    How to Install Oracle Java on Ubuntu Linux - wikiHow

    https://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux
    1. En cache
    How to Install Oracle Java on Ubuntu Linux. This tutorial will cover the installation of 32-bit and 64-bit Oracle Java 7 (currently version number 1.7.0_45) JDK/JRE on 32-bit and 64-bit Ubuntu operating systems. These instructions will...

    How to Create Your First Java Program on Ubuntu Linux - wikiHow

    https://www.wikihow.com/Create-Your-First-Java-Program-on-Ubuntu-Linux
    1. En cache
    How to Create Your First Java Program on Ubuntu Linux. This document presumes you have some kind of Java software development environment installed on your system such as Oracle Java, OpenJDK or IBM Java. If you don't have a Java...

    How To Setup Java on Ubuntu 16.04 - pontikis.net

    www.pontikis.net/blog/setup-java-on-ubuntu-16.04
    1. En cache
    2. Pages similaires
    1 janv. 2017 - A simple guide to setup Java (Oracle Java or OpenJDK) on Ubuntu 16.04 desktop. Basic configuration.

    Install Java on Ubuntu 16.04 - Linode

    https://linode.com/docs/development/java/install-java-on-ubuntu-16-04/
    1. En cache
    30 mai 2017 - This is a Linode Community guide. If you're an expert on something for which we need a guide, you too can get paid to write for us. Java is one of the world's most popular programming languages. Java can be used to create anything from software to basic web applications. In this guide, we'll install the ...

    How to Install Java on Ubuntu 16.04 – RoseHosting Blog

    https://www.rosehosting.com/blog/how-to-install-java-on-ubuntu-16-04/
    1. En cache
    2. Pages similaires
    23 janv. 2017 - We'll show you, how to install Java on Ubuntu 16.04. Oracle JDK is the official version distributed by Oracle. These guide should also work on Debian and Linux Mint, but was tested and written for Ubuntu. Installing Java on Ubuntu 16.04 is an easy task, if you follow this step by step guide below, carefully.

    Recherches associées à ubuntu java howto

    ubuntu install java 8

    ubuntu openjdk 8

    apt-get install java 8 debian

    installer java sur ubuntu

    ubuntu install java 7

    installer java 8 ubuntu

    install java linux command line

    install oracle jdk ubuntu

    12345678910Suivant
    France
     - En savoir plus
    AideEnvoyer des commentairesConfidentialitéConditions
    • Mon compte
    • Recherche
    • Maps
    • YouTube
    • Play
    • Actualités
    • Gmail
    • Drive
    • Agenda
    • Google+
    • Traduction
    • Photos
    Plus
    • Shopping
    • Docs
    • Livres
    • Blogger
    • Contacts
    • Hangouts
    • Keep
    Autres résultats Google