PDA

View Full Version : Java Virtual Machine Launcher


radzee
Jul 2, 2004, 06:29 AM
When I boot up I get an Java Virtual Machine Launcher error box Saying " Could not find main class. Program will exit". What did I do or not do to cause this error ?
I am running Windows XP.

radzee
Jul 4, 2004, 05:34 AM
So how do I get rid of the error ?

donone
Sep 18, 2004, 08:33 AM
When I boot up I get an Java Virtual Machine Launcher error box Saying " Could not find main class. Program will exit". What  did I do or not do to cause this error ?
I am running Windows XP.

VALENTINE
Sep 1, 2005, 08:05 AM
[B][QUOTE=radzee]When I boot up I get an Java Virtual Machine
Launcher error box Saying " Could not find main class. Program will exit".
What did I do or not do to cause this error ?
I am running [B]Windows XP

LTheobald
Sep 1, 2005, 09:08 AM
Well you could stop the JVM launcher but you don't really want to do that as it may stop certain parts of web pages from working (Java applets). Guess the best thing to do will be to try and fix it. First thing to try is a reinstall. Here's instructions to install the Sun JVM (the MS JVM is no longer being distributed).

Go to this page (http://java.sun.com/j2se/1.5.0/download.jsp). Click on the link saying "Download JRE 5.0 Update 4".
On the next page, select the agree to license radio button.
Next click on the link saying "Windows Online Installation, Multi-language".
If you are prompted with a Save/Open dialog - press open.
Wait for this download to finish. The program should then run automatically. Follow the onscreen instructions and install the JRE.
Reboot the computer.

This will reinstall the JVM and hopefully fix the problem.


Sorry about those last two responses. They are probably spam bots. Also disphf - the MS JVM was taken down for legal reasons. It was nothing to do with security. More info (http://www.pcpro.co.uk/shopper/news/51212/java-settlement-phases-out-previous-microsoft-products.html?searchString=jvm+jvm).

ranakhan
Sep 29, 2007, 05:29 AM
Hi,

I am also facing this "Java Virtual Machine Launcher" error dialog box.

I have re-installed JRE / JDK / J2SE about 10 times. Still no luck. I have tried, as I can do.

I have windows XP and I have un-installed most of my applications but still no luck.

Actually I want to run, Pentaho "Open source" java based software that need the JRE but I am facing this problem.

I will appreciate if anyone can help me.

Thanks in advance.

Roger200
Nov 28, 2007, 09:56 PM
I have a similar problem. When I try to open Anis, an animation program, the error is the following:
JAVA VIRTUAL MACHINE LAUNCHER

x Failed to load Main-Class manifest attribute from -location
of file- aniscode.jar

Roger200
Nov 28, 2007, 10:01 PM
I don't see a download JRE 5.0 Update 4

Roger200
Nov 29, 2007, 08:45 AM
Would JVE work?

jstrike
Nov 29, 2007, 02:13 PM
The issue may not be Java... the JVM is trying to run an application and can't find it. The JVM is the one telling you that it can't find the main class. It could be that the command line parameters required to start the application are wrong. If the application has worked in the past then try to re-install the application. If the application is new then get the latest copy of the Java Runtime Environment from Sun.
Java SE Downloads (http://java.sun.com/javase/downloads/?intcmp=1281)
Go to that page and download the Java Runtime Environment (JRE) 6 Update 3.
Once that's done I'd recommend re-installing the application to make sure it's properly installed.

HTH

M3gaman
Apr 22, 2008, 09:15 AM
Hehe maybe I can be of some assisstance go to Java SE Downloads - Previous Release - JDK 5 (http://java.sun.com/j2se/1.5.0/download.jsp)
Then click on umm Download JRE 5.0 Update 15 " the other guy said update 4 but the sites been updated ^_^
then!!!
On the next page, select the agree to license radio button.
Next click on the link saying "Windows Online Installation, Multi-language".
If you are prompted with a Save/Open dialog - press open. ( Firefox users click on save to disc )
Wait for this download to finish. The program should then run automatically. Follow the onscreen instructions and install the JRE.
Reboot the computer. U MUSSST I relised after like 10 minutes that I had to because I didn't read it properly O_O

This will reinstall the JVM and hopefully fix the problem.

Yeh that should do it if you got problems errr just make lost of comments and do-hikkeys lmao :cool:

jstrike
Apr 22, 2008, 09:26 AM
If you're going to download a new JDK get the latest version. Java 6 is faster than 5.
Java SE Downloads (http://java.sun.com/javase/downloads/?intcmp=1281)
Update 6 is the latest version and the on-line installation is probably easiest.

Suhasini228
Jul 17, 2009, 10:19 AM
Hi folks,

I was also facing this problem sice many days, when I was trying to run a Java Web Start Program. I have given below, how I was able to solve this problem, finally!! :)

1) Open command line(cmd) and type the command 'set'.
2) This command will display the values of all the Environment Variables that are used by the system.
3) Check if the following Environment Variables are pointing to the location where Java (JDK and JRE) is installed.
- CLASSPATH
- PATH
- JAVA_HOME
- JRE_HOME
4) For instance, if u have installed Java in - C:\Program Files\Java\jdk_1.6.0_14, then check if this path is included in PATH, JAVA_HOME, CLASSPATH variables. Also, ensure that JRE_HOME points to JRE location( C:\Program Files\Java\jre_1.6.0_14).
5) It is easy to set these Environment Variables in Windows through Control Panel ->System-> Go to Advanced Tab -> Select 'Environment Variables' -> and edit the above variables. If any of them is not already present, then Add them.

Hope this information helps people facing the same kind of problem.

Please write back if u found this information useful! :D


Thanks,
Suhasini.

netadaveo
Mar 28, 2010, 09:50 PM
How do I fix the java machine launcher it says can not find main class and need to exit

Kent52
Jun 13, 2010, 07:48 AM
When I boot up I get an Java Virtual Machine Launcher error box Saying " Could not find main class. Program will exit". What did I do or not do to cause this error ?
I am running Windows XP.

Go into your startup programs (at the bottom of your screen). There you can find Java. It's the first you shall delete. It help me.


Kent52 :)

kwame7
Jan 26, 2012, 05:07 AM
Hi

oskar
Mar 8, 2012, 10:05 AM
Pont