Then I restarted Glassfish and made sure I saw Java 8 ("java-1.8.0-openjdk") in server.log:Įxport JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
![java 1.7.0_91 java 1.7.0_91](https://codenotfound.com/assets/images/posts/java/java-8-public-jre-location.png)
OpenJDK 64-Bit Server VM (build 25.65-b01, mixed ~]# OpenJDK Runtime Environment (build 1.8.0_65-b17) *+ 1 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/javaģ /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/javaĮnter to keep the current selection, or type selection number: ~]# java -version There are 3 programs which provide 'java'.
#Java 1.7.0_91 install#
OpenJDK 64-Bit Server VM (build 24.91-b01, mixed ~]# rpm -qa | grep ~]# yum -y install ~]# rpm -qa | grep ~]# alternatives -config java On my Mac, I can get "BUILD SUCCESS" by running JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home mvn package but I'll want to figure out a better long term fix once the 2731-techupdate branch gets merged into a release ~]# java -version For more information about the errors and possible solutions, please read the following articles:Īt 8768e05#commitcomment-14283949 I've been discussing a fix for Travis. Re-run Maven using the -X switch to enable full debug logging. To see the full stack trace of the errors, re-run Maven with the -e switch. Failed to execute goal :maven-compiler-plugin:3.1:compile (default-compile) on project dataverse: Fatal error compiling: invalid target release: 1.8 -> Compiling 483 source files to /Users/pdurbin/NetBeansProjects/dataverse/target/classes Changes detected - recompiling the module! maven-compiler-plugin:3.1:compile (default-compile) dataverse. Using 'UTF-8' encoding to copy filtered resources. maven-resources-plugin:2.6:resources (default-resources) dataverse.
![java 1.7.0_91 java 1.7.0_91](https://www.sumologic.com/wp-content/uploads/2016/03/1.summaries.png)
argLine set to -javaagent:/Users/pdurbin/.m2/repository/org/jacoco//0.05241946/org.=destfile=/Users/pdurbin/NetBeansProjects/dataverse/target/jacoco.exec jacoco-maven-plugin:0.05241946:prepare-agent (jacoco-initialize) dataverse. maven-dependency-plugin:2.6:copy (default) dataverse.