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
Patrick VanVorce
1,952 PointsHow do I get my IntelliJ application to run my KaraokeMachine.java file? Control R isn't working...
I am trying to complete the Java course; however, I can't due to my IntelliJ program not working properly. I haven't changed any settings, and it was previously working. Could someone help me trouble shoot this? When I pull down the Run options, it doesn't allow me to click run either.
2 Answers
Patrick VanVorce
1,952 PointsJeremy,
I tried it in several of the files, including the main() file; I am still unable to run the program. I have followed the videos precisely, so I do not know what could be going wrong.
Jeremy Hill
29,567 Pointsclick inside the class with method main() and hold down shift and press F10. See if that does anything or did you already try that.
Jeremy Hill
29,567 PointsJeremy Hill
29,567 PointsMake sure that you are in the class with method main() then try running it. When you click on run look for where it says "run as java application" or something close to that and then click that.
Also, make sure that you do a save all before you try running it.