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
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
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.
Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
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
If you don't understand my answer, don't ignore it, ask a question.
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.
Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
Norm (January 24th, 2013)