![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
When you run the class you need to pass the classpath settings as YOu are making another mistake of using CreateObject.java while running the class. When you want to run a class with java command you need topass the name of the class and not the name of the java file. Since your class is CreateObject, so you need to run it as mentioned above and not as: Replies:
|
Sponsored Links
|