Skip to content

Instantly share code, notes, and snippets.

Matthieu Chase Heimer chasetec

Block or report user

Report or block chasetec

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@chasetec
chasetec / set-jdk8-alts.sh
Created Apr 22, 2014
Setup Oracle JDK 8 for Redhat based systems using the alternatives command
View set-jdk8-alts.sh
#!/bin/sh
jdk=/usr/java/jdk1.8.0_05
jre=$jdk/jre
alternatives \
--install /usr/bin/java java $jre/bin/java 180005 \
--slave /usr/lib/jvm/jre jre $jre \
--slave /usr/bin/keytool keytool $jre/bin/keytool \
--slave /usr/bin/orbd orbd $jre/bin/orbd \
You can’t perform that action at this time.