Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Java

Amit Dhamankar
Amit Dhamankar
4,163 Points

I have a couple of questions?

First I want to ask that if we load java-repl then can we run the javac command or we have to terminate the repl in order to run the javac command? Secondly I have a question that how can we ask the question directly to the trainer for example Craig Dennis directly? This does not mean that I dont trust forum members. And also I am still not getting used to the many services provided by the the team treehouse. Such as Trello, Taco and Github.

1 Answer

Good afternoon!

java-repl is basically a command line tool that allows you to run and test lines of java code one line at a time. You cannot run javac and must terminate the java-repl by pressing Ctrl+C (I believe) to close it out and return to the initial console.

I have seen the teachers view and answer questions in the forum. You may also post your question to the forum and click the "Ask" button next to their name if you see it on the list of people to "Ask to answer."

I hope this finds you well and answers your questions. Happy coding!

Amit Dhamankar
Amit Dhamankar
4,163 Points

Yeah thankyou Jeremiah for your reply. I got the problem solved and it was a silly mistake I had done in the syntax. Also as you said that we have to terminate java-repl for compiling the source code is right. Thank you for the answer.