Skip to Main Content

Error: Could not find or load main class

paulcarronNov 9 2016

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

Comments
Post Details
Added on Nov 9 2016
0 comments
1,195 views