Getting the module/project JDK library


I need to get hold of the module/project JDK in order to attach some sources to it.

Getting the library tables for dependencies can be done using com.intellij.openapi.roots.libraries.LibraryUtil or through the ModuleRootManager but there doesn't appear to be a similar approach for JDK library tables.

Any help much appreciated!


Please sign in to leave a comment.