I'm having trouble with an application that scans the classpath for plugins. It assumes that any jars in the classpath are potential plugins, and for some reason IDEA makes a point of explicitly adding the JRE jars to the classpath rather than letting them be detected normally. I can't change the application's plugin behavior. I've found a couple workarounds for this, but I'm pretty frustrated that it's even an issue. Is there a way to prevent IDEA from adding the JRE jars in the first place?