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 Java Basics Getting Started with Java Introduction to Your Tools

Andrada Terenche
Andrada Terenche
1,103 Points

How can I use Console inside Eclipse?

At university we work with Eclipse when programming Java and I would like to know if I can use the Console as shown in this tutorial. It would be very helpful because it is much easier for me to learn from here for the exam than it is from our teacher at uni.

1 Answer

Fahad Mutair
Fahad Mutair
10,359 Points

hi Andrada Terenche , you can't use Console inside IDE like (Eclipse or IntelliJ), its only for Command console so instead of that you can use with IDE

System.out.print

System.out.printf

System.out.println

and you can read more here

Andrada Terenche
Andrada Terenche
1,103 Points

Thank you very much Fahad Mutair. Are there be many more differences between Console and IDE?

Fahad Mutair
Fahad Mutair
10,359 Points

not that i recall at this time.