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 trialGreg Marsee
3,193 PointsWorkspace would not compile. Restarted 3 times, started over completely last time.
I have not been able to get the Workspace to compile since the beginning of this lesson. I have verified that the package and import statements match what are shown, but I cannot compile the Example file. To verify, I was able to create a similar set of class files and compile / run them in IntelliJ locally.
1 Answer
Evan Demaris
64,262 PointsHi Greg,
Could you include the stack trace? Or if there was any other error message, include that?
Winston, could you include the command you entered that returned that message? Unless you renamed the files from the Workspace, it should be javac Example.java
instead.
Winston Grant
4,364 PointsWinston Grant
4,364 PointsI am having the same problem it says
javac: file not found: example.java
//I used lower cases for my files
But I'm looking at the name of the file and it matches also the the name of the class in the file matches && the package title matches up properly. I also tried from the start twice by deleting my old folders and I'm still havving the same problem!