BUG: Specified Main Class 'Form1' Not Found (194189)
The information in this article applies to:
This article was previously published under Q194189 SYMPTOMS
When you create a new Visual J++ 6.0 application, the wizard creates a
class called Form1.java automatically. You can rename Form1.java to a more
meaningful name. You also need to change all occurrences of "Form1" in the
java code to the new name. After doing this you still get the following
build error:
Specified main class 'Form1' not found
RESOLUTION
Use the following steps to work around the problem:
- From the Project menu, click Properties.
- Click the Launch tab and make sure your new name is in the "When project
runs, load" drop-down list.
- Click OK.
The application will now build without error.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 3/7/2005 |
---|
Keywords: | kbBug kbpending KB194189 |
---|
|