![]() ![]() ![]() The OpenJDK community creates and maintains the (GPLv2 CE) open-source Reference Implementation (RI) of the Java SE Specification as governed by the Java Community Process (JCP) and defined through an umbrella Java Specification Request (JSR) for each feature release. Java SE / OpenJDK / Oracle OpenJDK Builds / Oracle JDK See the rest of this section for the exact nuances of this. Oracle JDK remains free (from cost) in some circumstances. You can still get OpenJDK builds by several providers (including Oracle) with complete freedom under the GPLv2 CE license. This document has a Shorter Version and a much Longer Version section with all of the details. There are various ways to get free updates ( including security) and (new and existing) paid support models available from multiple vendors to consider. Everything I have thrown at it works as long as your video card drivers work.With the changes to Oracle JDK distribution and support, there has been considerable uncertainty over the rights to use Oracle JDK vs. But your default should still come up as 7. ![]() I highly suggest using Java 7, but the updates will try to install Java 6 too. Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode) Java(TM) SE Runtime Environment (build 1.7.0_04-b20) To find your java version type java -versionĪnd you should see output similar to this: java version "1.7.0_04" Then to be on the safe side, I would reboot. Sudo apt-get install oracle-java7-installer Sudo add-apt-repository ppa:webupd8team/java Sudo apt-get purge oracle-java7-installer* Then type ( or copy and paste from here ) these commands one at a time: sudo rm /var/lib/dpkg/info/oracle-java7-installer* If you want to be able to continue using Java content online in your web browser (this is not the same thing as JavaScript), then before you remove any icedtea-6- or openjdk-6- packages (except perhaps openjdk-6-jdk), you should make sure you have icedtea-7- packages installed corresponding to whatever icedtea-6- packages are installed. (You'll notice that since this is a simulation, you don't need sudo.) This will show you the effects of removing those packages, including what other packages would be removed as well. You can check for this by simulating the removal operation on the command-line: apt-get -s remove openjdk-6-\* icedtea-6-\* However, whichever method you use, you may want to check first to see what depends on these packages-you might have software installed that specifically needs version 6. Or you can use the command-line: sudo apt-get remove openjdk-6-\* icedtea-6-\* (All the `openjdk-6 packages are listed here.) There are multiple packages associated with it, so you may need to remove more than one packages. You can remove openjdk-6 with the Software Center. Then it should be possible to give a more specific answer. Otherwise please edit your question to provide details. usr/bin/javac: symbolic link to `/etc/alternatives/javac' If the alternatives system is working correctly and being used by Java, then you should see: /usr/bin/java: symbolic link to `/etc/alternatives/java' To check this, run: file `which java javac` ![]() This assumes the "alternatives" system is working properly, which might not be the case, depending on how Java has been "messed up" in the past. This command should tell you what is currently providing the Java virtual machine ( java) and the Java compiler ( javac): file /etc/alternatives/java /etc/alternatives/javac ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |