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 trialGuy Ben Yeshaya
191 PointsCan't compile a program at all
No matter which program i write, even a one that i fully copy - it won't compile.
The error is this:
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m
I'm using a laptop from my job, which I'm not having administrator power on it. I was googeling and I found that this message appears to whoever doesn;t have administrator power, but the compiler I'm using is the 'Work Space' so I don't understand why it doesn't work.
Thank you!
2 Answers
Jason Anders
Treehouse Moderator 145,860 PointsBrendon is correct. This is not an error. If you have a look at the Teacher's notes for the first video (you haven't linked from a specific course, so we can't be sure where you are), this message is explained, and as Brendon stated, it has to do with Memory in the Treehouse workspaces.
There is no error message, so you program compiled just fine. Unless it is supposed to output something, it looks like you've done everything right. If it is supposed to output something, then the problem is somewhere in your code, so you will need to share that in order for us to be able to help troubleshoot.
Remember when posting code to use Markdown, otherwise code is pretty unreadable in the community. There is a Markdown cheatsheet link above the POST button or have a look at the Markdown Basics course
Keep coding! :)
Brendon Butler
4,254 PointsThat's not an error, that's just memory allocation in Java 9. It looks as if things are compiling fine for you. Your program might just not output anything yet.