0
In your case, follow these steps:
- Abra
Project Structure
, basically theProject Settings
. - Select
Modules
. - You must be seeing this screen:
- In
Sources
, you can add to your other application usingAdd Content Root
.
How about using Maven or Gradle?
I usually use Maven/Gradle to manage my dependencies. It’s much simpler. In that case you would only locate the src when I was debugging.
More details:
Interesting
Another way is to use the -Xbootclasspath. More details can be found here. Basically you will add a new variable to the VM when you boot.