0

I finished my java project in Eclipse (and it works) and I would like to run it on a server. I put the .class files from the "target" directory to my server. Then I tried to run it by using the command:

java myPackage.Main

But I get a "Class myPackag.Main Not found" error. I specified the path in the CLASSPATH variable.

What am I doing wrong?

polemon
  • 4,466
  • 3
  • 32
  • 47
Escdemon
  • 39
  • 3

0 Answers0