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:
Whenever I try to use java.exe or javaw.exe with MS-DOS Prompt, I get a windows message from the Java Virtual Machine Launcher saying "Could not find the main class! Program will exit!". Originally I though because I had installed Borland's JBuilder and also the Java2 SDK from Sun's website that there was a conflict. So I uninstalled JBuilder. The message still came up, so I then uninstalled the SDK and JRE. I then re-installed the SDK. But the message is still persisting. It appears regardless of whether I switch to the directory that javaw.exe is in or not. Does anyone know the problem? I didn't restart the computer after the uninstall or the reinstall because I didn't think I needed to. Could that be the problem? Thanks for any help. Replies:
|
Sponsored Links
|