A common difficulty that new Java builders knowledge is that their applications fall short to run With all the error message: Could not obtain or load primary course ...If you realize the path of the class or perhaps the jar that contains the class then add it to the classpath though managing it. You should use the classpath as outlined listed here