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 trial

Java

I'm trying to use launch workspace.

hello.!! tried to compile a program but I got a error from the console run javac Example.java && java Example "This is what I got " Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m
Error: Could not find or load main class Example.java

TreeHouse guys can you please give some permit to get access to write file on that folde, please thk so much.!

~/workspace$ ls -la com/
total 12
drwxr-xr-x. 3 treehouse users 4096 Nov 27 21:49 .
drwxrwxr-x. 3 treehouse users 4096 Oct 30 19:32 ..
-rw-r--r--. 1 treehouse users 0 Oct 31 14:46 Example.java
drwxr-xr-x. 2 treehouse users 4096 Nov 27 21:49 teamtreehouse

1 Answer

I can't compile files at that folder