3

inline

When I change dir to hw1/out/production/hw1/com/poc and run java Main

It gave me Error: Could not find or load main class Main

1
  • I wouldn't really blame java for the lack of simplicity here. You have a nice file structure setup to separate your source files from your class files. The only download is you'll have to refer to your class files by said file structure, this should be viewed as a benefit! Commented Jul 3, 2016 at 1:03

1 Answer 1

3

You have to run java com.poc.Main from hw1/out/production/hw1/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.