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.
This looks more like a bug. Whenever apply key is pressed, default jars that were added to classpath earlier are just gone. Pressing OK in stead of Apply is a valid workaround. This should be reported in a bug trace system.
精彩评论