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 Advanced Tooling Refactoring

Hannah Lee
Hannah Lee
80,187 Points

Use the rename refactoring to name the Queue from mSongQueue to mSongRequestQueue in KaraokeMachine.java.

I've got 0 songs available...isn't it right?

com/teamtreehouse/KaraokeMachine.java
"C:\Program Files\Java\jdk-11.0.1\bin\java.exe" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2018.2.6\lib\idea_rt.jar=60468:C:\Program Files\JetBrains\IntelliJ IDEA 2018.2.6\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\bok\Desktop\HelloWorld\out\production\HelloWorld HelloWorld.KaraokeMachine
There are 0 songs available and 0 in the queue. Your options are:  
add - Add a new song to the song book 
play - Play next song in the queue 
choose - Choose a song to sing! 
quit - Give up.  Exit the program 
What do you want to do:  
Brendan Whiting
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 Points

Can you post your Java code? I see a file path, and I see something that looks like output in the Terminal. But we need to see your Java code in order to help debug.

1 Answer

Sean M
Sean M
7,344 Points

Brendan has a good point. If you share your code, we would be more than happy to help out.

You can share your code by copying the text, and pasting it here.

Make sure to format it like this:

```Java 
paste code in here