DLotts commented on a change in pull request #309: URL: https://github.com/apache/rya/pull/309#discussion_r502509532
########## File path: extras/vagrantExample/src/main/vagrant/Vagrantfile ########## @@ -56,47 +55,29 @@ Vagrant.configure(2) do |config| # TODO: Eventually this version of the Rya distribution will be on maven...and then we can use the following instead #export RYA_EXAMPLE_VERSION=4.0.0-incubating export RDF4J_VERSION=2.3.1 - export ZOOKEEPER_VERSION=3.4.5-cdh4.5.0 - + export ZOOKEEPER_VERSION=3.4.5-cdh5.16.1 mavenRepoUrl=http://repo1.maven.org/maven2/ - echo "Updating host file with permanent ip" sudo sed -i 's/127.0.1.1/192.168.33.10/' /etc/hosts cat >> /etc/hosts <<EOF 192.168.33.10 zoo1 zoo2 zoo3 EOF - sudo -E apt-get -qq update - echo "Installing Java installer..." - sudo -E add-apt-repository ppa:webupd8team/java || exit $? - sudo -E apt-get -qq update || exit $? - echo debconf shared/accepted-oracle-license-v1-1 select true | \ - sudo -E /usr/bin/debconf-set-selections - echo debconf shared/accepted-oracle-license-v1-1 seen true | \ - sudo -E /usr/bin/debconf-set-selections - sudo mkdir --parents /var/cache/oracle-jdk8-installer || exit $? - echo verbose=off >> /var/cache/oracle-jdk8-installer/wgetrc || exit $? - - echo "Installing Java..." - sudo -E apt-get -qq install -y oracle-java8-installer || exit $? - sudo ln --force -s /usr/lib/jvm/java-8-oracle/ /usr/lib/jvm/default-java - + sudo -E apt-get install openjdk-8-jre + echo "Installing Tomcat..." sudo -E apt-get install -y tomcat7 || exit $? - echo "Installing Unzip..." apt-get install unzip || exit $? - echo "Setting up environment..." - export JAVA_HOME=/usr/lib/jvm/java-8-oracle + export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java Review comment: So this sort of works because tomcat7 depends on java-7, so it gets auto installed. The jdk-8 install fails as it is not in the PPA for Ubuntu 14.04. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org