Install JDK
Install JDK first. The following example uses jdk-7u67-linux-i586.tar.gz.
- Download JDK on the official website, depending on your machine.
- Decompress
Tar-zxvf jdk-7u67-linux-i586.tar.gz
.
- Move to/usr/lib/JVM/and create one if it does not exist. Alternatively, run the following command: sudo CP-R ~ /Desktop/arena/Java/jdk1.7.0 _ 67 // usr/lib/JVM /.
- Install:
- Sudo Update-alternatives -- install/usr/bin/Java/usr/lib/JVM/jdk1.7.0 _ 67/bin/Java 300
- Sudo Update-alternatives -- install/usr/bin/javac/usr/lib/JVM/jdk1.7.0 _ 67/bin/javac 300
- Replace the default JDK sudo Update-alternatives -- config Java with a prompt similar to the following:
[Email protected]: ~ /Desktop/arena/Java $ sudo Update-alternatives -- config Java has two candidates to replace Java (/usr/bin/Java ). Select path priority status ready * 0/usr/lib/JVM/java-7-openjdk-i386/JRE/bin/Java 1071 automatic mode 1/usr/lib/JVM/java-7-openjdk-i386/JRE/bin/Java 1071 manual mode 2/usr/lib/JVM/jdk1.7.0 _ 67/bin/Java 300 manual mode to maintain the current value [*] Press enter, or enter the selected number: 2.
Enter the number before JDK installation and press Enter.
- Sudo Update-alternatives -- config javac
- OK, celebrate! The most troublesome step is over! View the JDK version:
[Email protected]: ~ /Desktop/arena/Java $ Java-versionjava version "1.7.0 _ 67" Java (TM) se Runtime Environment (build 1.7.0 _ 67-b01) Java hotspot (TM) server VM (build 24.65-b04, mixed Mode)
Arena
Then install Arena!
- Download
ContestAppletProd.jnlp
- Terminal input: javaws contestappletprod. JNLP
- If you are prompted that you have not installed icedtea-netx, enter sudo apt-Get install icedtea-netx and go to step 2.
- OK.
!
Gaga! Purebred Ubuntu put on the Mac coat ..
Install arena on Ubuntu