Having JAVA_HOME inconsistency issue with maven

后端 未结 7 2152
春和景丽
春和景丽 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:56

    in super user privilege on your terminal open

    vi etc/environment
    

    on opened file add JAVA_HOME path

    JAVA_HOME="/usr/lib/jvm/java-7-openjdk-i386/"
    

    Hope you set the JAVA_HOME check if your JAVA_HOME is set using command

    echo $JAVA_HOME
    
    0 讨论(0)
提交回复
热议问题