Hi so I am on Win10 and Git 2.35.1. I think my Git Bash terminal has some encoding issues. For example if I type java the message I got is all mojibake. (I am not sure why my Java is printing in another language other than English honestly. I did not configure anything special when I install JRE or JDK.)
Tag: git-bash
Why is Git Bash not using the correct Java path as defined in the PATH environment variable?
In an instance of Git Bash, typing in java -version gives me: Error: could not open ‘C:Program Files (x86)Javajre7libi386jvm.cfg’ However, my actual Java path is in D:Program FilesJavajdk1.8.0_45bin. This is shown in my %PATH% variable if I type in either echo $PATH or env | grep PATH. Where is Git Bash getting this nonexistent Java path from? P.S. To add