I hsve this problem with the error message that says "The Microsoft Java Virtual Machine cannot find main class; will exit" too. I followed everyone's suggestions. I've tried deleting the Java Virtual Machine, tried intalling the Sun version, and tried two Adware programs. Still, I cannot get rid of this thing and a lot of my programs will not work which I think this Java Machine thing may be the culprit. Right now I am trying a new adware program, one that some of you have suggested by Lavasoft, the Ad-Aware SE. The Ad-Aware found a lot of things on my computer, including a lot that has to do with the Microsoft Java Virtual Machine, but what do I do now? Am I supposed to delete some things? I have no idea what to do in this program to try to fix my Java Machine error message! Also, is it likely for when you get this problem for some of your programs not to work?
Your error message suggests that you have something missing or in error with the installation of the Microsoft version of the java virtual machine.
With the sun version of the java virtual machine, that type error message means the CLASSPATH environment variable is not set.
In most cases, the error means that the classpath does not point to the current directory which is denoted by "." or a period within quotes.
Setting the classpath depends on the operating system you are running with. Its pretty easy on Windows XP or 2000 Pro. You can create an environment variable called CLASSPATH and set it equal to "." in the Systems advanced settings, environment variables.
Older operating systems had an autoexec.bat file under c:\ that can be edited in Notepad, adding the single line: CLASSPATH="."; then reboot the PC.
Just wondering if you wewre able to find the solution to this Java Virtual Machine Launcher problem. I am haveing the same error pop up evertime I boot up. Can you help
Hi, I read this thread and was hoping for a solution to this annoyance. I still haven't been able to fix it; and yes I read everything you guys have typed. I downloaded the most recent copy of Ad-Ware which is 1.05 and not the Beta version. That didn't help except for an internet problem with AOL. I also looked for this "Manage System" and "Service & Applications\Services" and I can't find it. I am running Windows XP Home and wonder if it's different than what you guys said.
Any way this is the ERROR window(s) I recieve.
Java Virtual Machine Launcher Could not find the main class. Program will end now. Everyone seems to have this one. And Then. Rundll Error loading C:\ProgramFiles\WildTangent\Apps\CDA\cdaEngine0400.dll
Hi, Matthias. No the .dll doesn't exist I searched for it and found nothing. One of my friends told me to look this up HKEY_LOCAL_MACHINE\SOFTWARE\Machine\Windows\CurrentVersion\Run, unfortunatly that wasn't there either. Then I ran "Spybot Search & Destroy" And this came up. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\webHancer Survey Companion w/Registry value behind it. I told Spybot to fix it and it failed too.
No you said to reinstall it. Is there anyway I can get it off the internet again?
> Every time I launch my laptop I get the following Java > Virtual Machine Launcher error: could not find the main > class - program will exit. I don't know what this means > but could someone tell me how I go about fixing this > problem?
Hi all, I have a question that is not extremely important but extremely aggravating. I downloaded a program called Azureus to read bit torrent downloads. When I tried to open it, I received a message stating that I needed Java. I downloaded the latest form of Java I could find. However when I tried to open Azureus again, I got the all too common Java Virtual Machine Launcher error message. "Cannot find main class. Program will exit".
I am hopelessly lost and confused and I am seeking guidance. Please help.
It sounds to me like you need to do a registry search and delete keys associated with the program that is trying to be launched, but has probably been deleted or uninstalled incorrectly.
Registry changes are dangerous.
Microsoft has a free registry cleaner program that shold fix problems that occur when a bad program uninstall occurs.
If you don't know how to do these kinds of things, I would suggest doing either a system restore to before the problem started or reformat your hard drive and start over.
I think reformatting your drive is more dangerous than editing your registry. I would never recommend that. If you're worried about viruses and/or spyware, then get some antivirus and/or antispyware tools (see google.com).