Enquete

instalação java
1 (100%)
instalação java jdk versões
0 (0%)

Votos Totais: 1

Autor Tópico: Instalação java jdk no Ubuntu  (Lida 1664 vezes)

Offline daysonmota

  • Usuário Ubuntu
  • *
  • Mensagens: 1
    • Ver perfil
Instalação java jdk no Ubuntu
« Online: 05 de Abril de 2016, 00:25 »
Bom galera, tenho um JDK8 instalado no meu sistema, e preciso instalar outros JDK como faço isso?Ou seja quero ter varios JDK no meu sistema e após conseguir instalar como faço para ficar alterando os path?

paulobenedito

  • Visitante
Re:Instalação java jdk no Ubuntu
« Resposta #1 Online: 05 de Abril de 2016, 13:42 »
OLá,

Como assim outros JDK's?

Você quer o 6, 7, 8?

Olhe:
Código: [Selecionar]
creto2@creto2-Inspiron-5447:~$ apt-cache search jdk
default-jdk - Standard Java or Java compatible Development Kit
gcj-native-helper - Standard helper tools for creating gcj native packages
icedtea-7-jre-jamvm - Alternative JVM for OpenJDK, using JamVM
icedtea-7-plugin - web browser plugin based on OpenJDK and IcedTea to execute Java applets
libcommons-collections3-java - Apache Commons Collections - Extended Collections API for Java
mauve - free test suite for the Java Class libraries
gcj-4.8-jdk - GCJ and Classpath development tools for Java(TM)
gcj-jdk - gcj and Classpath development tools for Java(TM)
default-jdk-doc - Standard Java ou Java compatível Development Kit (documentação)
default-jre - Standard Java ou Java Runtime compatível
default-jre-headless - Standard Java ou Java Runtime compatível (headless)
libcommons-lang-java - extensão do pacote java.lang
libcommons-lang-java-doc - Documentation for an extension of the java.lang package
openjdk-7-dbg - Java runtime based on OpenJDK (debugging symbols)
openjdk-7-demo - runtime Java baseado em OpenJDK (demos e exemplos)
openjdk-7-doc - OpenJDK Development Kit (JDK) documentation
openjdk-7-jdk - OpenJDK Development Kit (JDK)
openjdk-7-source - OpenJDK Development Kit (JDK) source files
java-package - Utility for creating Java Debian packages
libcolt-java - scalable scientific and technical computing in Java
libcolt-java-doc - scalable scientific and technical computing in Java (doc)
fakeroot-ng - Gives a fake root environment
icedtea-6-jre-jamvm - Alternative JVM for OpenJDK, using JamVM
icedtea-6-plugin - web browser plugin based on OpenJDK and IcedTea to execute Java applets
japitools - Java API compatibility testing tools
java3ds-fileloader - Java3D 3DS File Loader
jtreg - Regression Test Harness for the OpenJDK platform
jvm-7-avian-jre - lightweight virtual machine using the OpenJDK class library
libanimal-sniffer-java - JDK/API verification tools
libanimal-sniffer-java-doc - Documentation for Animal Sniffer
libcommons-collections4-java - Apache Commons Collections - Extended Collections API for Java
libcommons-collections4-java-doc - Documentation for Commons Collections 4
libcommons-lang3-java - Extension of the java.lang package (for Java 5+)
libcommons-lang3-java-doc - Documentation for extension of the java.lang package (for Java 5+)
libcommons-launcher-java - Apache Commons Launcher - Cross platform Java application launcher
libcommons-math-java - Java lightweight mathematics and statistics components
libcommons-math-java-doc - Java lightweight mathematics and statistics components - documentation
libcommons-math3-java - Java lightweight mathematics and statistics components
libcommons-math3-java-doc - Java lightweight mathematics and statistics components - documentation
libhessian-java - Java implementation of a binary protocol for web services
libhessian-java-doc - Documentation for libhessian-java
libhibernate-commons-annotations-java - Hibernate Commons Annotations
libicu4j-4.4-java - Library for Unicode support and internalisation
libicu4j-java - Library for Unicode support and internationalization
libitext1-java - Java Library to generate PDF on the Fly
libjboss-aop-java - JBoss Aspect Oriented Programming (AOP) framework
libjboss-common-java - The JBoss Common Project
libjboss-marshalling-java - alternative serialization API
libjson-simple-java - Simple, lightweight and efficient JSON toolkit for Java
libjxp-java - Java template engine/script processor
libmaven-enforcer-plugin-java - Maven build rule execution framework
libnb-javaparser-java - Parser for the Java language which is good for use in tools
libpostgresql-jdbc-java - Java database (JDBC) driver for PostgreSQL
libpracticalxml-java - practical XML handling routines
libslf4j-java - Simple Logging Facade for Java
libtrove-java - high performance collections for java
libtrove-java-doc - high performance collections for java
libtrove3-java - high performance collections for java
libtrove3-java-doc - high performance collections for java
libwagon-java - tools to manage Maven artifacts and deployment
mmake - Makefile generator for Java programs
openjdk-6-jre-zero - Alternative JVM for OpenJDK, using Zero/Shark
openjdk-7-jre-zero - Alternative JVM for OpenJDK, using Zero/Shark
substance - cross-platform look & feel for Swing applications
substance-doc - cross-platform look & feel for Swing applications - documentation
testng - testing framework for Java
uwsgi-app-integration-plugins - plugins for integration of uWSGI and application
uwsgi-plugin-jvm-openjdk-6 - Java plugin for uWSGI (OpenJDK 6)
uwsgi-plugin-jvm-openjdk-7 - Java plugin for uWSGI (OpenJDK 7)
uwsgi-plugin-jwsgi-openjdk-6 - JWSGI plugin for uWSGI (OpenJDK 6)
uwsgi-plugin-jwsgi-openjdk-7 - JWSGI plugin for uWSGI (OpenJDK 7)
visualvm - All-in-One Java Troubleshooting Tool
libpostgresql-jdbc-java-doc - Java database (JDBC) driver for PostgreSQL (documentation)
libreoffice - office productivity suite (metapackage)
usepackage - Utilitário para gerir variáveis de ambiente a partir do interior de dotfiles
freemind - Programa em java para criar e ver mapas mentais
icedtea-6-jre-cacao - JVM alternativa para o OpenJDK, usando Cacao
openjdk-6-dbg - Java runtime based on OpenJDK (debugging symbols)
openjdk-6-demo - runtime Java baseado em OpenJDK (demos e exemplos)
openjdk-6-doc - OpenJDK Development Kit (JDK) documentation
openjdk-6-jdk - OpenJDK Development Kit (JDK)
openjdk-6-jre-lib - OpenJDK Java runtime (architecture independent libraries)
openjdk-6-source - OpenJDK Development Kit (JDK) source files
openjdk-7-jre-lib - OpenJDK Java runtime (architecture independent libraries)
openjdk-7-jre - OpenJDK Java runtime, using Hotspot JIT
openjdk-7-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless)
openjdk-6-jre - OpenJDK Java runtime, using Hotspot JIT
openjdk-6-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless)
creto2@creto2-Inspiron-5447:~$

E acho que isso aqui me basta:
Código: [Selecionar]
creto2@creto2-Inspiron-5447:~$ apt-cache policy openjdk-7-jre
openjdk-7-jre:
  Instalado: 7u95-2.6.4-0ubuntu0.14.04.2
  Candidato: 7u95-2.6.4-0ubuntu0.14.04.2
  Tabela de versão:
 *** 7u95-2.6.4-0ubuntu0.14.04.2 0
        500 http://br.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
        100 /var/lib/dpkg/status
     7u51-2.4.6-1ubuntu4 0
        500 http://br.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
creto2@creto2-Inspiron-5447:~$

Mas conte um pouco mais ao fórum do que você almeja

T+