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 trialMatt Smith
619 PointsStill getting that JAVA_TOOL_OPTIONS: -Xmx128m / _JAVA_OPTIONS: -Xmx128m error.. and another error..
Also getting the error: Class names, 'Introductions.Java', are only accepted if annotation processing is explicitly requested?..
ALSO! I already tried https://teamtreehouse.com/community/picked-up-javatooloptions-xmx128m and that did not fix it.. Went to my Control panel and changed Java environment setting and such.
1 Answer
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 PointsIt looks to me that you write:
javac Introductions
That should give you (without 'picked Up' warning)
error: Class names, 'Introductions', are only accepted if annotation p
rocessing is explicitly requested
If that is what you typed, then make sure you re-watch the video, and when you compile you have to type Introductions.java
:
javac Introductions.java
Because upon compiling you provide filename of java files, not just the name of the class.
But when you run the program you provide class name:
java Introductions
Do you see the difference?