Problem while installing oracle-java8-installer

I am trying to install Oracle’s Java8, but I get the following errors. How can I fix those? Translated from Spanish. For original text, please see the revisions. r06xd@uers1-H61MLV2:~$ sudo apt-get install oracle-java8-installer [sudo] password for r06xd: Leyendo lista de paquetes… Hecho Creando árbol de dependencias Leyendo la información de estado… Hecho Los paquetes indicados … Read more

Can not install java jdk 8

I’ve installed ubunut 15.04 recently and I’ve tried to install java JDK 8 but I can not, and I don’t know why. I have fallow all that commands: sudo apt-get install python-software-properties sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer And after that I checked my java version and I’ve got a error: … Read more

Could not start the game server

I tried to run the game as explained here… https://www.minecraft.net/en-us/download/server But got this error: # java -Xmx1024M -Xms1024M -jar server.jar nogui Error: LinkageError occurred while loading main class net.minecraft.server.Main java.lang.UnsupportedClassVersionError: net/minecraft/server/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes … Read more

Ubuntu 11.10: how to install OpenJDK 1.7 without OpenJDK 1.6

When I install the JRE of OpenJDK 1.7 on Ubuntu 11.10 (or Xubuntu 11.10), it automatically installs OpenJDK 1.6. When now launching java -version on the console, version 1.6 is shown. How to install just OpenJDK 1.7 without OpenJDK 1.6? Answer It installs OpenJDK 1.6 because there is a dependency chain openjdk-7-jre -> libaccess-bridge-java-jni -> … Read more

Ubuntu 11.10: how to install OpenJDK 1.7 without OpenJDK 1.6

When I install the JRE of OpenJDK 1.7 on Ubuntu 11.10 (or Xubuntu 11.10), it automatically installs OpenJDK 1.6. When now launching java -version on the console, version 1.6 is shown. How to install just OpenJDK 1.7 without OpenJDK 1.6? Answer It installs OpenJDK 1.6 because there is a dependency chain openjdk-7-jre -> libaccess-bridge-java-jni -> … Read more

Ubuntu 11.10: how to install OpenJDK 1.7 without OpenJDK 1.6

When I install the JRE of OpenJDK 1.7 on Ubuntu 11.10 (or Xubuntu 11.10), it automatically installs OpenJDK 1.6. When now launching java -version on the console, version 1.6 is shown. How to install just OpenJDK 1.7 without OpenJDK 1.6? Answer It installs OpenJDK 1.6 because there is a dependency chain openjdk-7-jre -> libaccess-bridge-java-jni -> … Read more

How do I replace OpenJDK 6 with OpenJDK 7 on Debian?

I have just installed the openjdk-7-jdk and openjdk-7-jre packages on my Debian box that already had OpenJDK 6 installed on it. However, when I look at my Java version, I see that it shows OpenJDK 6: bui@debian:~$ java -version java version “1.6.0_24” OpenJDK Runtime Environment (IcedTea6 1.11.3) (6b24-1.11.3-2) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed … Read more

Fail to build openjdk 7 update 6

I downloaded the archive of openjdk 7 update 6 from this page: https://jdk7.java.net/source.html I tried to build it by following the README-builds.html but failed with lots of errors like “unmappable character for encoding ascii”. For example: ../../../src/share/classes/javax/transaction/._TransactionRequiredException.java:1: error: unmappable character for encoding ascii. I tried on both mac 10.7.5 and debian 6, but both failed … Read more

Configure Java 7 Firefox Plugin on 64-Bit Cent OS

I configured Java on my Cent OS 64-bit machine by running the following command yum install java-1.7.0-openjdk.x86_64 But I cannot find the “libnpjp2.so” file as mentioned here: http://www.oracle.com/technetwork/java/javase/manual-plugin-install-linux-136395.html It was supposed to be dead easy! -_- Answer Download the official JRE Linux x64 RPM from Oracle Java website http://java.com/en/download/manual.jsp The following command is for “Java … Read more