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

Prabh Bajwa
Front End Web Development Techdegree Student 1,791 PointsSir I'm trying to make this code work in sublime-text-3 as well but it's not working there please help me?
Hello, Sir My name is Prabh and I was trying to work in Sublime-Text-3 I but this code:
import java.io.Console;
public class Introductions {
public static void main(String[] args) {
Console console = System.console();
// Welcome to the Introductions program! Your code goes below here
console.printf("Hello, my name is Craig");
}
}
is not working with Sublime what should I do but this code is working just fine: public class Introductions{ public static void main(String ...args){ System.out.println("Hello, my name is Prabh"); } }
1 Answer

Craig Dennis
Treehouse TeacherHi Prabh Bajwa !
I think you'll find an IDE better to use than a text editor like Sublime. I'm a big fan of sublime for JavaScript, but a full blown IDE is great for strongly typed languages like Java.
Check out Local Development Environments for how to get it set up!
Hope it helps!
Prabh Bajwa
Front End Web Development Techdegree Student 1,791 PointsPrabh Bajwa
Front End Web Development Techdegree Student 1,791 PointsCraig Dennis Thank you so much sir I will use IDE from Now :-)
Prabh Bajwa
Front End Web Development Techdegree Student 1,791 PointsPrabh Bajwa
Front End Web Development Techdegree Student 1,791 PointsSir can you please tell me which Code Editor is used by Treehouse teachers.
Craig Dennis
Treehouse TeacherCraig Dennis
Treehouse TeacherFor Java we are using IntelliJ IDEA, and for Android we are using Android Studio (based on IntelliJ IDEA)
Prabh Bajwa
Front End Web Development Techdegree Student 1,791 PointsPrabh Bajwa
Front End Web Development Techdegree Student 1,791 PointsCraig Dennis thank you sir for the answer but I'm having a problem my code It's Also not working in eclipse now its giving me errors import java.io.Console;
public class Introductions {
public static void main(String[] args) { Console console = System.console(); // Welcome to the Introductions program! Your code goes below here console.printf("Hello, my name is Prabh"); } }