Error: Could not find or load main class — oracle-tech

    Forum Stats

  • 3,702,035 Users
  • 2,239,551 Discussions
  • 7,835,727 Comments

Discussions

Error: Could not find or load main class

Hi,

I have a java class which is sitting on a server. I created a bat file to kick it off.

If I rdp onto the server, navigate to the folder I placed it in and execute the bat file the class runs correctly. However, if I navigate to the folder through Windows Explorer on my desktop and kick off the bat file I get a message saying

"Error: Could not find or load main class AtlasServiceStartStop"

What am I doing wrong?

Thanks

Paul

Tagged:
This discussion has been closed.