Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
First attempt at openjdk porting support
Jim Van Fleet
committed
Nov 8, 2016
1 parent
2890ad1
commit ccae021
Showing
2 changed files
with
27 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
# Override this file with a version with the following commented out in order to use Oracle JDK. | ||
|
||
# Uncomment all the following lines to download the JDK to your Shibboleth IDP image. By uncommenting these lines, you agree to the Oracle Binary Code License Agreement for Java SE (http://www.oracle.com/technetwork/java/javase/terms/license/index.html) | ||
|
||
#JAVA_VERSION=8u101 | ||
#BUILD_VERSION b13 | ||
#JAVA_HOME /usr/java/latest | ||
|
||
#wget -nv --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/$JAVA_VERSION-$BUILD_VERSION/jdk-$JAVA_VERSION-linux-x64.rpm" -O /tmp/jdk-8-linux-x64.rpm && \ | ||
# yum -y install /tmp/jdk-8-linux-x64.rpm && \ | ||
# rm -f /tmp/jdk-8-linux-x64.rpm && \ | ||
# alternatives --install /usr/bin/java jar $JAVA_HOME/bin/java 200000 && \ | ||
# alternatives --install /usr/bin/javaws javaws $JAVA_HOME/bin/javaws 200000 && \ | ||
# alternatives --install /usr/bin/javac javac $JAVA_HOME/bin/javac 200000 | ||
|
||
yum -y install --setopt=tsflags=nodocs \ | ||
java-1.8.0-openjdk \ | ||
java-1.8.0-openjdk-devel | ||
|
||
cd /opt/grouper/$VERSION && java -cp :grouperInstaller.jar edu.internet2.middleware.grouperInstaller.GrouperInstaller |