on-internet
← Community

Bad version of java when running maven exec plugin

Stack Overflow ·

My current version of java is 7: java -version java version "1.7.0_80" Java(TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot(TM) Server VM (build 24.80-b11, mixed mode) and I have command mvn8 where is set java_home to 8: mvn8 -version Java HotSpot(TM) Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100) Maven home: /home/.../apache-maven-3.0.3 Java version: 1.8.0_66, vendor: Oracle Corporation Java home: /home/.../jdk1.8.0_66/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", vers

Comments

Sign in or sign up to comment and upvote.

No comments yet.