Domanda

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

È stato utile?

Soluzione

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"
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top