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!
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
Dennis Castillo16,018 Points
Java compile, execute, display in MS-DOS Command through other folder.
Greetings, I have installed Java JDK and JRE on my server and I have created a basic program "Hello World". I use my laptop as a client and I use my server as a compiler using MS-DOS command.
I use this ms-dos command for compiling:
And it did work. But when I type this command to execute and display:
It's gives an error, it said path is missing or file is not found something to deal with class thing. I check the "myFiles" folder if its HelloWorld.class does exist in the folder and it does. Am I missing something? I'm not that really an advance user using MS-DOS command, just need some help about this problem, a little information. Thanks :)