If your version number differs, then your command may differ slightly. jenv add /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/ ![]() For me, this meant navigating to the Java SE Development Kit 7u80 downloads, accepting the license agreement, and then downloading and installing from the dmg package for Mac OS X 圆4. Grab the latest version of Java 7 SDK from Oracle’s Java 7 archive. Homebrew installs most everything under your user account, so it doesn’t mess with Mac’s view of the world and rarely, if ever, requires the use of sudo. I used to use Macports to install utilities on my Mac, but it was fairly invasive. So, for example, you can run Java 7 for the OpenMRS Standalone and run Java 8 everywhere else. ![]() Not only can you easily switch between Java versions, but you can configure different folders to run specific versions of Java. Jenv to the rescue! jenv provides an easy way to manage multiple Java versions. How do I get Java 7 on my laptop without making a mess of things? ![]() At the recent OpenMRS Worldwide Summit #OMRS15, I was helping out with the Saptarshi’s introductory tutorial and realized that the OpenMRS Standalone requires Java 7, meaning that it fails to run on Java 8.
0 Comments
Leave a Reply. |