?
Solved

Could not find main class. Program will exit

Posted on 2006-10-29
9
Medium Priority
?
4,478 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
6 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month16 days, 16 hours left to enroll

864 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