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

Ene Catalin
Ene Catalin
1,931 Points

Workspace not working!

Hello!

I'm facing the following problem: Workspace doesn't work, I launch it and after typing the code it won t compile. I already switched browsers, even laptops, I followed the instructions, I read te Forum and steel nothing works. I can't follow my course without workspace. I need a solution or an alternative! The code is a simple console.printf command!

Thanks!

treehouse:~/workspace$ javac Example.java
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m
treehouse:~/workspace$ java Example
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m
treehouse:~/workspace$

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Hi Ene,

If you have a look at the Teacher's Notes for the first video of the Java course, you will see that what you have is not an error. Those messages are a normal functioning part of Treehouse's Workspaces for Java. It has to do with upgrades made for memory allocation. So, what you have there is normal and expected.

Now, if you are not receiving the desired output from your code, the problem will be with the code itself, not Workspaces. Have a quick review of your code for any syntax or spelling errors. If you're still stuck, you'll need to post your code, or even better, take a snapshot of your Workspace to share for the Community to assist you in debugging your code.

Keep Coding! :) :dizzy: