This is probably an IDE question, or the solution is in your IDE configuration, but I would think that if you installed the JDK correctly, BEFORE installin the IDE, the IDE should know where to find...