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

General Discussion

Java Compiler

Hello,

I wanted to know if Team Tree House offers any sort of compiler for Java that I can use online. I am currently at work and I can't install any software such as eclipse or jGrasp to run some snippets of code for my homework. I know it sounds like a weird request but if anyone here know where I can find a good compiler for java online without installing any software on my work desktop it will be great.

Thank you in advance.

5 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Interesting question. I've never looked for anything like this, but searching for "online java compiler" turns up a few results, like http://ideone.com.

Switching ideone.com to Java and pasting in this code works:

class Test {
    public static void main(String args[]) {
        System.out.println("Hello!");
    }
}

Ben you are awesome thank you so much :)

That's pretty awesome, and it supports a lot more than just Java!

James Barnett
James Barnett
39,199 Points

@Ben - Have Google (access), will answer (questions) :smile:

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

@James - haha - that's applicable 90% of the time!