Java – setting classpath

You can right click on any directory in your IntelliJ project, select “Mark Directory As…”, and choose “Source Root”. That director folder will change color from yellow to blue; IntelliJ considers all those directories to be in your CLASSPATH.

Leave a Comment