My system java's version is 1.6, for running Eclipse I need jre 1.7. I've already downloaded and unpacked the archive of java 1.7, but I cant change the default path from /usr/bin/java
to my unpacked folder path
mostly i'm using cshrc
so I've made these change in the .cshrc.user
file
set PATH = "$PATH":/path/to/java/jre1.7.0_67/bin
after sourcing .cshrc.user
file, java -version
still shows 1.6, which mean that nothing is changed, how do I change the default JAVA PATH?