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

IntelliJ Run and Debug Issues

I've been trying to follow a course video however, I am unable to click the Run/Debugger in IntelliJ: http://imgur.com/6ByXk8O

If I click the Run/Debugger in the cyan box, I am given this option which I have no idea how to use: http://imgur.com/Xd56zs4

I'm new to coding and recently got this IDE installed- any suggestions would help.

Thanks!

2 Answers

Your Karaoke.java and .class are outside the your source package, so it's not being picked up by the IDE as a run target. Move the Karaoke.java file into src under the teamtreehouse package and try it again. If it still gives you the "Edit Configurations" option choose it, add a new Application profile if necessary, and click the 3 dots to the right of "Main class" to choose Karaoke.

Thanks, Seth. I had my Karaoke.class file in the wrong place as well. Works now!

Thank you! Yeah, I made sure everything was in the right place and it works now!