MacOS – Java class file could not be launched on startup

javamacosstartup

I'm not sure what happened but now when I boot up my Mac I get this message that pops up every time:

"The Java class file "myClass.class" could not be launched.
Check the Console for possible error messages."

This class file is part of a larger program I'm developing.

I checked the console and found the message with sender [0x0-0x1b01b].com.apple.JarLauncher and the message says java.lang.NoClassDefFoundError: ....

I failed to find the Jar Launcher or anything Java related in /Library/StartupItems and ~/Library/StartupItems but that's all I thought to do.

Any ideas on why I'm getting this message and what to do to get rid of it?

Best Answer

Finally found it in System Preferences -> Users -> Login items.