JAVA related problem "Could Not Find The Main Class" - TechRepublic
Question
February 15, 2009 at 01:53 PM
zaeem_raza

JAVA related problem “Could Not Find The Main Class”

by zaeem_raza . Updated 17 years, 5 months ago

Hello all….

The problem that I am facing is JAVA related or to be more specific .jar related.

See I have an executalbe .jar file that can be run with the help of Java Runtime Environment. When I try to run this file by double clicking on it it gives an error “Could Not Find The Main Class”. When I try to run the same file on another machine (PC) it runs just fine……

I had the latest version of Eclipse installed on the PC that is giving the error message now to run JAVA based programs sometime ago . Now I have removed Eclipse from my PC. Is it something to do with Eclipse that the .jar files aren’t running on that PC? If so what should I do now and if not….still what should I do? lol….

My both PCs have same attributes:

Windows Vista Business Edition SP1
Intel Core2 CPU T5600 @ 1.83 GHz 1.83 GHz
1 GB RAM
32 Bit OS………

Plz Help guys………..Thank You

This discussion is locked

All Comments