maven ignoring jenv settings

后端 未结 3 1182
暖寄归人
暖寄归人 2021-02-01 00:51

I had OSX with Java 1.6 installed, and I just installed jenv along with Java 1.7:

$ jenv local \'1.7\'
$ jenv versions
  s         


        
3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-01 01:44

    I had a similar problem. I got things running by prefixing all command with jenv exec:

    jenv exec mvn -version
    

提交回复
热议问题