Skip to content

Instantly share code, notes, and snippets.

@paulfryzel
Created February 1, 2015 18:19
Show Gist options
  • Save paulfryzel/c132b0ffd9e7c23f68d2 to your computer and use it in GitHub Desktop.
Save paulfryzel/c132b0ffd9e7c23f68d2 to your computer and use it in GitHub Desktop.
sudo yum install ld-linux.so.2 libstdc++.so.6 libz.so.1 libXext.so.6 libXrender.so.1 libXtst.so.6
sudo setenforce 0
sudo update-alternatives \
--install /usr/bin/java java /usr/java32/jre1.8.0_31/bin/java 10 \
--slave /usr/bin/jjs jjs /usr/java32/jre1.8.0_31/bin/jjs \
--slave /usr/bin/keytool keytool /usr/java32/jre1.8.0_31/bin/keytool \
--slave /usr/bin/orbd orbd /usr/java32/jre1.8.0_31/bin/orbd \
--slave /usr/bin/pack200 pack200 /usr/java32/jre1.8.0_31/bin/pack200 \
--slave /usr/bin/policytool policytool /usr/java32/jre1.8.0_31/bin/policytool \
--slave /usr/bin/rmid rmid /usr/java32/jre1.8.0_31/bin/rmid \
--slave /usr/bin/rmiregistry rmiregistry /usr/java32/jre1.8.0_31/bin/rmiregistry \
--slave /usr/bin/servertool servertool /usr/java32/jre1.8.0_31/bin/servertool \
--slave /usr/bin/tnameserv tnameserv /usr/java32/jre1.8.0_31/bin/tnameserv \
--slave /usr/bin/unpack200 unpack200 /usr/java32/jre1.8.0_31/bin/unpack200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment