Could not find main class. Program will exit

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 !
psiubestAsked:
Who is Participating?
 
mbvvsatishConnect With a Mentor Commented:
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
 
CEHJCommented:
how are you trying to run it?
0
 
psiubestAuthor Commented:
it is an exe !
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
shinobunCommented:
What is the program?  Does it come with instructions on how to configure/run it?
0
 
psiubestAuthor Commented:
It's a program with no instrutions, but which i always run it in my pc before
0
 
shinobunCommented:
Sorry, I wanted some information on the program itself, like the name, where did you download it from, etc.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.