![]() The ‘*’ shows the version currently selected. To check Java versions on jEnvĪt the moment it only found Java version(jre) on the system. Step 3: When you first install jEnv will not have any JDK associated with it.įor example, I just installed JDK 8 but jEnv does not know about it. If which jenv > /dev/null then eval "$(jenv init -)" fi It will be familair to anyone who has used RVM. This tool allows you to change different java versions using a simple command. This is where neat little tool called jEnv comes into picture. ![]() The problem with that approach is that you may have downloaded all the versions of Java JDK but you have to tweak around the the bash profiles, set environment, JAVA_HOME settings etc., which is kind of a pain and error prone. ![]() With so many apps and softwares out there, one needs to maintain several versions of Java JDK as not all of them are compatible with all the versions of Java. For those who are not sure what is HomeBrew and what it is used for should definitely install brew. The dilemma that I had was hwo am I going to mainain the different version of Java. What I did not realize was that Apple had goofed up Java instlation on Mac, as result of which my IntelliJ idea compalained that it requires legacy Jdk version of Java 6. As part of upgrade, I had to wipe my drive clean and install Yosemite. A few weeks ago my Mac hard drive crashed and I had to get a new grad drive.
0 Comments
Leave a Reply. |