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 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.