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 trialIheke Iheke-agu
Full Stack JavaScript Techdegree Student 2,307 PointsMy workspace wont compile
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m
javac: file not found: Example.java
Usage: javac <options> <source files>
use -help for a list of possible options
1 Answer
Iheke Iheke-agu
Full Stack JavaScript Techdegree Student 2,307 PointsThanks Jennifer, I got it. I opened my file inside my other file instead of where I need to open it from. if that makes since.
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherFirst, the first two lines starting with
Picked up
are not an error message. They are an informational message about memory options set in the JVM. The error is indicating that it can't find the file you're trying to compile. Here are some things to check. Make sure you're in the right directory and that the file name matches (including capitalization). Make sure you've saved the file. If all these are ok, we're going to need to see a "snapshot" of your workspace to assist you further. If you look on the upper right-hand side of your workspace you should see a camera icon. Clicking this will make a "snapshot" of your workspace which you can link here. This will allow us to fork it and have a look around. I look forward to your response!