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

Using different program like Visual Studio Code

I want to use Visual Studio Code to code along with the tutorials instead of workspace. I tried using the code in the tutorials starting with import java.io.Console, but how come the terminal give me errors? What steps do I need to take to get this working?

2 Answers

Per Karlsson
Per Karlsson
12,683 Points

Hi Niem Nguyen,

What kind of errors do you get?

Make sure you have the Java JDK installed, it can be found here

~Per

I actually got a variable error. I typed Console.console by accident. But I have also downloaded the JDK and installed it. Thank you very much!