I am currently taking an online Java course at my high school. It's a great course; however, I must use my laptop, because the school computers do not allow me to run my applications after I compile them. When I attempt to run applications, this is the error that I get:
Exception in thread "main" java.lang.NoClassDefFoundError: (name of program)
I have determined that this error is related to a faulty classpath. I echoed the classpath through command prompt and found that the location is:
C:\Program Files\QuickTime\QTSystem\QTJava.zip
I don't know why this is. I set the classpath to the folder that I was running the java application and class file from (my flash drive), but it still didn't work.
What else can I do to get the applications to run? Thanks!
Exception in thread "main" java.lang.NoClassDefFoundError: (name of program)
I have determined that this error is related to a faulty classpath. I echoed the classpath through command prompt and found that the location is:
C:\Program Files\QuickTime\QTSystem\QTJava.zip
I don't know why this is. I set the classpath to the folder that I was running the java application and class file from (my flash drive), but it still didn't work.
What else can I do to get the applications to run? Thanks!