You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@predictionio.apache.org by em...@apache.org on 2016/07/21 16:55:37 UTC

[1/2] incubator-predictionio git commit: Added OpenJDK8 to install.sh script #223

Repository: incubator-predictionio
Updated Branches:
  refs/heads/develop 191352a62 -> 034f5a0d8


Added OpenJDK8 to install.sh script #223


Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/commit/49c46eca
Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/tree/49c46eca
Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/diff/49c46eca

Branch: refs/heads/develop
Commit: 49c46ecaa5cc0648960bb50734e9f46ab3a2e3c8
Parents: ec79f20
Author: Fabrice Carrega <fa...@treize37.com>
Authored: Wed Apr 27 14:48:34 2016 +0200
Committer: Fabrice Carrega <fa...@treize37.com>
Committed: Wed Apr 27 14:48:34 2016 +0200

----------------------------------------------------------------------
 bin/install.sh | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/49c46eca/bin/install.sh
----------------------------------------------------------------------
diff --git a/bin/install.sh b/bin/install.sh
index 5ce7fec..46d9713 100755
--- a/bin/install.sh
+++ b/bin/install.sh
@@ -93,8 +93,9 @@ if [[ "$OS" = "Linux" && $(cat /proc/1/cgroup) == *cpu:/docker/* ]]; then
   # Java Install
   echo -e "\033[1;36mStarting Java install...\033[0m"
 
+  sudo add-apt-repository -y ppa:openjdk-r/ppa
   sudo apt-get update
-  sudo apt-get install openjdk-7-jdk libgfortran3 -y
+  sudo apt-get install openjdk-8-jdk libgfortran3 -y
 
   echo -e "\033[1;32mJava install done!\033[0m"
 
@@ -126,8 +127,9 @@ elif [[ "$1" == "-y" ]]; then
   echo -e "\033[1;36mStarting Java install...\033[0m"
 
   # todo: make java installation platform independent
+  sudo add-apt-repository -y ppa:openjdk-r/ppa
   sudo apt-get update
-  sudo apt-get install openjdk-7-jdk libgfortran3 python-pip -y
+  sudo apt-get install openjdk-8-jdk libgfortran3 python-pip -y
   sudo pip install predictionio
 
   echo -e "\033[1;32mJava install done!\033[0m"
@@ -233,8 +235,9 @@ else
         echo -e "\033[33mThis script requires superuser access!\033[0m"
         echo -e "\033[33mYou will be prompted for your password by sudo:\033[0m"
 
+        sudo add-apt-repository -y ppa:openjdk-r/ppa
         sudo apt-get update
-        sudo apt-get install openjdk-7-jdk libgfortran3 python-pip -y
+        sudo apt-get install openjdk-8-jdk libgfortran3 python-pip -y
         sudo pip install predictionio
 
         echo -e "\033[1;32mJava install done!\033[0m"


[2/2] incubator-predictionio git commit: Merge branch '223-java_8_hard_requirement' of https://github.com/fcarrega/PredictionIO into develop closes apache/incubator-predictionio#247

Posted by em...@apache.org.
Merge branch '223-java_8_hard_requirement' of https://github.com/fcarrega/PredictionIO into develop closes apache/incubator-predictionio#247


Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/commit/034f5a0d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/tree/034f5a0d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/diff/034f5a0d

Branch: refs/heads/develop
Commit: 034f5a0d82a55b3226acfe5fb8e4117988771ad9
Parents: 191352a 49c46ec
Author: EmergentOrder <le...@gmail.com>
Authored: Thu Jul 21 10:53:35 2016 -0600
Committer: EmergentOrder <le...@gmail.com>
Committed: Thu Jul 21 10:53:35 2016 -0600

----------------------------------------------------------------------
 bin/install.sh | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------