문제

How can I export (All) latest environmental variable in Cygwin ?

I initially has JAVA_HOME = C:\Program File\jdk16021 then I upgrade to 1.7 and change the environment variable to JAVA_HOME = C:\Program File\jdk17055\ but Cygwin is still showing JAVA_HOME = C:\Program File\jdk16021

도움이 되었습니까?

해결책

You need to edit your .bashrc file, that file should be located in your Home directory.

So, under the folder c:/users/your_user_name , create or edit the file .bashrc

export JAVA_HOME="C:/Program File/jdk17055"
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top