Solved

Could not find main class. Program will exit

Posted on 2006-10-29
9
4,453 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
advertisement module in core php 4 144
GUI builder for Eclipse? 8 27
HSSFWorkbook cannot be resolved error 10 49
windows explorer path to command prompt 5 27
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

948 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now