Search found 1 match

by Fenring
Tue Feb 23, 2010 8:20 pm
Forum: Java
Topic: Can't run classes in packages
Replies: 0
Views: 8074

Can't run classes in packages

I recently switched to Windows 7, and now, after moving all my Java programs over, my classes in packages will no longer run. I can access them, but if my main method is in a class in a package, I get the following a NoClassDefFoundError.

package MyPackage;

public class MyClass{

public static ...