![]() ![]() It turns out though that doing this can be a bit of a pain in the neck and requires a bit of a setup. ![]() As such, I prefer instead to have all the 3 versions installed on my Mac and switch in between them as and when I need it. Of course, I could take the approach of using just Java 8 and set compatibility mode (in maven or whatever) for the correct JDK version needed, however, this often highlights or hides problems specific with the JDK version used (when dealing with production projects especially I think it’s essential that developers mimic the production environment to the detail). And also I’ve been playing with the new and shiny Java 8 too (loving the lambda expressions!). Then I also have a bunch of open source projects I work on (read “I stare at the code in github and don’t understand much” □ ) which are using JDK 1.7. In my case, I am working on the (good) stuff we got going in Cognitive Match which is mainly JDK 1.6 (yes, yes, I know, I know, don’t worry, we’re upgrading that soon). If you’re a Java developer like me, working on a bunch of different projects at the same time, then you quite likely find yourself in the situation where you need to switch in between different JDK versions every time you switch context/project. Posted May 30th, 2014 by Liv & filed under Blogroll, News, Tech. Running Multiple JDK Versions on Mac OS X ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |