Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialNatasha Johnson
12,285 PointsThe selected directory is not a valid home for JDK.
I am trying to Select Home Directory for JDK and I keep receiving an error that reads "The selected directory is not a valid home for JDK". Can someone help me complete this step for Windows?
2 Answers
Charles Cloud
6,134 PointsCan you provide some more details? Are you saying once you have installed IntelliJ and it is trying to detect where Java is installed? If so then I would assume that you aren't selecting the correct directory (the one where Java is actually installed)
Ryan Chan
4,076 PointsNot sure if this would work, but I had the same problem. Try reinstalling the Java JDK, when it prompts "Destination Folder" and "Click 'Change' to install Java to a different folder" just click on "Next >".