[ubuntu-ar] ¿Alguien sabe por qué Ubuntu 12.04 instala OpenJDK c JAM VM en lugar de Hotspot?
Pablo Lillia
pablofer72 at yahoo.com.ar
Wed Jan 16 15:13:54 UTC 2013
El 16/01/13 01:04, Fernando Cassia escribió:
> Ubuntu 12.04.1 LTS instalado fresquito.
>
> $ java -version
>
> The program 'java' can be found in the following packages:
>
> * default-jre
> * gcj-4.6-jre-headless
> * openjdk-6-jre-headless
> * gcj-4.5-jre-headless
> * openjdk-7-jre-headless
> Try: sudo apt-get install <selected package>
>
> user en VBox:~$ sudo apt-get install openjdk-7-jre-headless
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
>
> The following extra packages will be installed:
> ca-certificates-java **icedtea-7-jre-jamvm** java-common openjdk-7-jre-lib
> tzdata-java
>
> Suggested packages:
>
> default-jre equivs sun-java6-fonts ttf-dejavu-extra fonts-ipafont-gothic
> fonts-ipafont-mincho ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts
> ttf-bengali-fonts
>
> The following NEW packages will be installed:
>
> ca-certificates-java **icedtea-7-jre-jamvm** java-common
> openjdk-7-jre-headless
> openjdk-7-jre-lib tzdata-java
>
> 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
> Need to get 44.1 MB of archives.
>
> After this operation, 63.4 MB of additional disk space will be used.
> Do you want to continue [Y/n]? y
> ---
>
Porque no se instala "en lugar de...", sino como "opción a...".
Dice la descripción del paquete:
Alternative JVM for OpenJDK, using JamVM
The package provides an alternative runtime using the JamVM. This is a
somewhat faster alternative than the Zero port on architectures
like armel,
mips, mipsel, powerpc.
The VM is started with the option `-jamvm'. See the README.Debian
for details.
Podes comprobar la diferencia entre:
$ java -version
y en cambio
$ java -version -jamvm
Es una VM alternativa, que aparentemente tiene algunas ventajas para
ciertas arquitecturas. Pero para usarla requiere un parámetro explícito.
Aunque no es la única alternativa, hay más! :) Mira en el documento
/usr/share/doc/openjdk-6-jre/README.Debian o en
/usr/share/doc/openjdk-7-jre/README.Debian, que menciona otras JVM como
cacao, zero y shark.
Slds.-
Pablo
More information about the Ubuntu-ar
mailing list