Solved

Could not find main class. Program will exit

Posted on 2006-10-29
9
4,459 Views
Last Modified: 2008-09-11
Hello all!!

I am trying to run a program which i downloaded from the internet.
When i try to execute it o get on my windows xp a window called "java virtual machine launcher", with the message: Could not find main class. Program will exit.

The strange thing is that in some other computers i can run this application with no problem. I already downloaded the JVM and install it again, but it didnt work.

Do you guys have any idea of what could solve this problem ?

Regards !
0
Comment
Question by:psiubest
9 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 17829880
how are you trying to run it?
0
 

Author Comment

by:psiubest
ID: 17829991
it is an exe !
0
 
LVL 9

Expert Comment

by:shinobun
ID: 17830186
What is the program?  Does it come with instructions on how to configure/run it?
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

Author Comment

by:psiubest
ID: 17830197
It's a program with no instrutions, but which i always run it in my pc before
0
 
LVL 9

Expert Comment

by:shinobun
ID: 17830295
Sorry, I wanted some information on the program itself, like the name, where did you download it from, etc.
0
 
LVL 10

Accepted Solution

by:
mbvvsatish earned 500 total points
ID: 17831916
try this
create path and classpath to your jvm under

control panel->system->advanced tab->environment variables->user variables
click on New. add variable name as "path" and varable value as ".;C:\Program Files\Java\j2re1.4.2_04\bin;"

click on New once again and add variable name as "classpath" and varable value as ".;C:\Program Files\Java\j2re1.4.2_04\lib;"
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
HSSFWorkbook cannot be resolved error 10 68
jboss wildfly 10.1 10 81
jsp login check 12 30
printf performancy 11 35
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This video teaches viewers about errors in exception handling.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question