Demo entry 6796449

bash

   

Submitted by Ball Chang on May 15, 2019 at 08:07
Language: Bash. Code size: 234 Bytes.

# update-alternatives --install /usr/bin/java java /opt/jre1.8.0/bin/java 300
# update-alternatives --install /usr/bin/javac javac /opt/jre1.8.0/bin/javac 300
# update-alternatives --config java
# update-alternatives --config javac

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).