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 trial

Java Local Development Environments Exploring Your IDE Importing External Code

Michael Smith
Michael Smith
8,222 Points

Importing files

Hi,

I am trying to import my java files into intelliJ. When I drag the Karaoke.java and com file into the src folder, it freezes intelliJ and I have to force quit it. Any suggestions?

3 Answers

Jonas Andersen
Jonas Andersen
17,072 Points

Hi Michael,

I had the exact same issue and found an easy workaround.

If you right click on the project file tree in IntelliJ and select "Reveal in Finder" it brings up a new window that you can freely drag and drop into without any freezes.

When you're done just go back into IntelliJ, right click on the file structure again and select "Synchronize 'Karaoke'" to get the updated view.

Hope this helps!

kabir k
PLUS
kabir k
Courses Plus Student 18,036 Points

Hi Michael,

I don't know if this works for Windows users but if you're on a Mac, after unzipping your folder by double-clicking, navigate to the Karaoke and then project folder. Then move the project folder into your Downloads folder and follow the video as Craig did it. See here

Michael Smith
Michael Smith
8,222 Points

Awesome! Thanks Jonas I'll give that a shot.