Demo entry 5855249

bash

   

Submitted by anonymous on Jul 21, 2016 at 04:15
Language: Bash. Code size: 308 Bytes.

$sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk-8u91-linux-i586/bin/javac 1
$sudo update-alternatives --install /usr/bin/java java  /usr/lib/jvm/jdk-8u91-linux-i586/bin/java 1
$sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk-8u91-linux-i586/bin/javaws 1

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).