I have been told its an IDE problem and I should post here. Heres a screenshot of the errors.
https://s3-us-west-2.amazonaws.com/d...2020.48.48.png
Printable View
I have been told its an IDE problem and I should post here. Heres a screenshot of the errors.
https://s3-us-west-2.amazonaws.com/d...2020.48.48.png
That link doesn't work for me. You should copy and paste the error anyway, not post a screenshot of it. That way we can copy and paste it into google ourselves.
Ok :)
Exception in thread "main" java.lang.ClassNotFoundException: MyCard
at java.net.URLClassLoader$1.run(URLClassLoader.java: 366)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 23)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 56)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at com.intellij.rt.execution.application.AppMain.main (AppMain.java:113)
Process finished with exit code 1
Same as thread: http://www.javaprogrammingforums.com...ind-error.html
Edit: The reason Norm suggested you post here was to ask how to properly setup your classpath in your IDE. You might want to let us know what IDE you're using, as well as the directory setup of your classes and dependencies.
But for what it's worth, I suggest you ditch the IDE entirely and compile and run via the command prompt. What's going on here is an issue with your classpath, which many IDEs hide from you. You should use a basic text editor and the command prompt until you understand what's going on.