I've got a similar to this post problem, the only difference is that it's opposite. :D I've got only jdk (using jre from jdk package). When I add this in SDKs section, I suppose IDEA should load all the necessary libs from jdk_path/jre/lib
, but it doesn't.
What's strange is that the first time I add jdk classpath settings are just great.