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 trialNathan Huls
5,709 PointsError: Picked up JAVA_TOOL_OPTIONS: -Xmx128m
import java.io.Console;
public class Introductions {
public static void main(String[] args) {
Console console = System.console();
// Welcome to the Introductions program! Your code goes below here
console.printf("Hello, my name is Nate\n");
console.printf("Nate is learning how to write Java\n");
} }
4 Answers
Craig Dennis
Treehouse TeacherDon't worry not an error, we've just given Java more memory recently to speed up your experiences!
Jennifer Chaknis
Full Stack JavaScript Techdegree Student 46 PointsOkay but how do you know if the code you're typing is correct if the output is always Picked up JAVA_TOOL_OPTIONS: -Xmx128m?????????????????
Aditya Puri
1,080 Pointsso you upgraded your memory usage recently?
Craig Dennis
Treehouse TeacherYour output will come below. Make sure you are saving.
Jennifer Chaknis
Full Stack JavaScript Techdegree Student 46 Pointsi am saving and whenever i compile i get the same error or message not my output :( i even opened a new workspace
Craig Dennis
Treehouse TeacherCan you make a workshop snapshot for me Jennifer? I'll track down the bug!
Craig Drummond
933 PointsHi Craig,
Is there a way to hide that output, so we don't have to see it before the output of our own program. It just feels a little clumsy to have to see that message every time. Thanks!
Craig Dennis
Treehouse TeacherWorking on it! Will keep you posted. It's part of the JDK unfortunately. https://bugs.openjdk.java.net/browse/JDK-8039152 (here it is closed with won't fix) there might be a workaround.
Nathan Huls
5,709 PointsNathan Huls
5,709 PointsQuick response! Thanks Craig!!
osvaldo gonzalez
2,167 Pointsosvaldo gonzalez
2,167 Pointsyes I worry becasue desite I saved it I continue with the next Issue in console; treehouse:~/workspace$ javac Introductions.java
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
treehouse:~/workspace$ java Introductions.java
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Error: Could not find or load main class Introductions.java
treehouse: