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 trialfahamida esa
169 PointsGetting errors on the console after saving the work.
so i started working on the multiple string video, i was coding along as per the video. when i typed the following on console " clear && javac Treestory.java && java Treestory" and saved it , i am receiving the following error "Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m
javac: file not found: Treestory.java
Usage: javac <options> <source files>
use -help for a list of possible options "
treehouse:~/workspace$
2 Answers
KRIS NIKOLAISEN
54,971 PointsTo clarify my answer here is the link to the video. Anyone on the forum can load the workspace and try:
clear && javac Treestory.java && java Treestory
in the console and receive the same results that fahamida did. Try:
clear && javac TreeStory.java && java TreeStory
as shown @3:48 in the video and you'll have better success.
Hardly worth a down vote but in the future for fahamida or anyone else, post a link to the challenge or video you are talking about and in most cases post your code. Better yet if you are using a workspace post a snapshot. In this case since the file name is the issue a snapshot would be best.
KRIS NIKOLAISEN
54,971 PointsTry with an uppercase S in TreeStory (both instances). That is the case in the video's workspace.
fahamida esa
169 Pointsi've tried all of it. i should of taken a screenshot instead and posted it.
KRIS NIKOLAISEN
54,971 PointsKRIS NIKOLAISEN
54,971 PointsIf you are using a workspace can you post a snapshot? Click the camera icon in the upper right corner, then 'Take Snapshot', then post the link created here.