Reputation: 565
I'm using one JDK1.7 for one project and JDK 1.8 for another. Is there a way to toggle between both while using the respective projects? right now, I have to manually change the versions in the 'User & System variables' every time I open the project.
Thanks!
Upvotes: 0
Views: 41
Reputation: 1605
You can change the "Project SDK" in the Project Structure menu :
If you are talking about different modules that require different Java versions, you can also change the "Module SDK" version in the Modules menu (Dependencies tab).
Upvotes: 3