Having JAVA_HOME inconsistency issue with maven

后端 未结 7 2149
春和景丽
春和景丽 2021-02-08 11:32

I am on the verge of releasing a project but it seem JAVA_HOME is been inconsistent. Maybe it\'s been overridden somewhere else? I am using ubuntu 14.04 and I have openjdk-7, ja

7条回答
  •  执笔经年
    2021-02-08 11:39

    Another workaround:

    export JAVACMD=$JAVA_HOME/bin/java
    

    setting /usr/lib/jvm/java ⇒ /usr/java/jdk1.7.0_45 did not work for me

提交回复
热议问题