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 trialallensimbul
3,065 PointsI've run into an error in Workspace and I don't how to fix it, please help
Every time I run a file I get a this message: Picked up JAVA_TOOL_OPTIONS: -Xmx128m Picked up _JAVA_OPTIONS: -Xmx128m
2 Answers
Nathan Williams
Python Web Development Techdegree Student 6,851 PointsHey Allen,
That's not an error, it's just an informational message; what is the actual problem you're seeing?
Nathan Williams
Python Web Development Techdegree Student 6,851 PointsHi Allen,
This message is just informational, it's something the JVM prints out on start-up when it detects that environment variable set; it does not impact your code at all, and is due to a recent tweak we made to Workspaces to prevent Java from running out of memory inside Workspaces.
allensimbul
3,065 Pointsallensimbul
3,065 PointsIm unable to attach a picture to show you the actual problem. Basically anytime I run a file I get that message and then the file runs. Even when I make simple codes like printing "Hello World" the message appears.
How'd do you get rid of it?
allensimbul
3,065 Pointsallensimbul
3,065 PointsHello Nathan I didnt get a reply back, I'm just curious why is the message popping up when I run my code because in the past this never happened?
allensimbul
3,065 Pointsallensimbul
3,065 Pointspublic class Example {
public static void main(String[] args){
} }
This is my code for my Example.java file
public class PezDispenser{
public String mCharacterName = "Yoda";
}
This is my code for my Pezdispenser file