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 Java Objects Meet Objects Creating Classes

wilburt moreno
wilburt moreno
429 Points

Picked up JAVA_TOOL_OPTIONS: -Xmx128m

Picked up JAVA_TOOL_OPTIONS: -Xmx128m

Picked up _JAVA_OPTIONS: -Xmx128m

How to solve this? please help

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! No need to panic. You haven't done anything wrong and there isn't anything wrong. I know it probably looks like an error, but it is, in fact, simply an informational message about memory options in the JVM.

Here are a couple of posts by Treehouse staff where they elaborate on this:

Hope this helps! :sparkles:

Said Gaforov
Said Gaforov
809 Points

Jennifer, Nope, this did not help, your links simply explain why those lines appear, doesn't say how to get rid of them. they are annoying and occupy space. Also, I get other error messages. Providing your students with alternative options for executing codes instead of your workspace would be greatly appreciated, especially when you cannot provide a good working environment for them to practice alongside the videos. There are a lot of popular IDEs out there where they compile and execute java and other codes such as IntelliJ IDEA and Visual Studio Code (both Free), but I need a little direction how to use your video codes with them. If this doesn't get solved I will be forced to cancel my membership, cannot learn like this.

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there, Said Gaforov! I would be sorry to see you go and you cannot get rid of these lines in workspaces. To be clear, I am not Treehouse staff. I am a volunteer moderator on these forums and a fellow student. In my experience, Treehouse is very receptive to receiving feedback and suggestions. You can send suggestions at any time to help@teamtreehouse.com.

There is a Java course about setting up a local environment that you can take here and another one specifically about IntelliJ is slated for release in October. You can find the upcoming courses listed at the bottom of the "Library" link at the top of this page.

As for your other error messages, I would need to see your code or potentially a snapshot to your workspace to help you further, though I am most willing to help if I can! :smiley:

The people on these forums are not my students... they are my teachers :sparkles: