Skip to main content

"Default" JDK in IDEA

Posted by crazybob on April 29, 2004 at 12:09 PM PDT

I bought an IntelliJ IDEA 4.0 license the other day and have been setting up dynaop. I pointed the dynaop project at the JDK named by default, "java version '1.4.2_01.'" When I committed the project file and checked it out on my PowerBook, the build broke because the local JDK name defaulted to, "java version '1.4.2_03.'" If I updated the project to point at the correct JDK and committed the change from my PowerBook, I would break my Windows environment (and anyone else's environment that didn't use the same JDK). I solved the problem by renaming the JDK in both environments to, "Default," and pointing the project at that. So long as I have a JDK named, "Default," I can simply check out and hit the ground running.