I have the following code
I compile the program and create html coding. however my java app failed to run. It says "Loading java applet failed".
I even ran it as java Tutorial1
This is what I get.....
Exception in thread "main" java.lang.NoClassDefFoundError: Tutorial1
What can I do to make the program going? Thank you
Originally posted by Ken MacClune:
Similar problem here. I compile my FirstApp and get the error (Exception in thread "main" java.lang.NoClassDefFoundError) when attmpting to run in the command window. ? Using or not using -classpath seems not to matter.
Please start your own thread and include the following details:
From there we will be able to help you correct the problems you have encountered.