2/9/2023 0 Comments Use jenv to install java 8 mac![]() Luckily, Homebrew Cask made this task really easy. ![]() Unlike other version managers such as NVM, jEnv itself doesn’t install JDKs. If your brew or cask is outdated, update and upgrade: brew update & brew upgrade brew-cask & brew cleanup & brew cask cleanup Install Java 8 ![]() Install Homebrew Cask first if you haven’t: brew update ![]() I’m going to use Cask to install Java 7 and 8. On Mac, Homebrew is the de-facto package manager, and Homebrew Cask is the app manager. Install Multiple Version of JavaĪ promising solution for installing multiple version of java is to use JEnv a command line tool to set java on the fly. If it throw a result with jre version above 1.8, then we need install another version of java. Mostly current jar file worked with jre version 1.8, so when your jre version are above it lets say 9 or 10 the jar launcher will throw an error message. What should be done for this problem?įirst, we need to check current java version running on your mac. ![]() Have you experience some error when trying to open up jar files in your Mac ? or get an error message as “The Java JAR file could not be launched, check the console for possible error messages”. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |