Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 7 2016
Added on Nov 9 2016
0 comments
1,579 views