📎 AI Summary:
The thread revolves around the original poster's (Pete's) difficulty running Java programs on Windows 7 64-bit, with errors like "Could not find the main Class" and issues with file associations. Despite troubleshooting tips such as reinstalling Java and registry cleaning, the problem was unresolved initially. Ultimately, Pete reports that his system started working again after rebooting and making some registry changes himself, leading to a positive conclusion.

peter7769

New Member
Joined
Sep 30, 2010
Messages
8
Thread Author #1
Hi
Please can someone help, for a while now i have not been able to run Java programs on my windows 7 64bit machine, i know it has something to do with corrupt or missing registry settings and file associations, but just cant seem to get it to work, i have also made matters worse as before i could run them on one user account but not the other. Now i cant get them to run on either :-(
Please can anyone help??

The error message comes up saying "Could not find the main Class" whenever i double click a jar file.

Also when i download a java file/program the icon is just blank, so windows does not know how to open the file.

I am not that technical so if you could give me step by step instructions and i can try it when i get home tonight.

Thanks Pete :frown:

P.s I have downloaded and installed the lastest version of JAVA and according to the java web page it has installed correctly.
 

Last edited:
Solution
Hey there. I would simply uninstall the Java. Reboot. Then run Ccleaner to clean the unnecessary files from the hdd and then too for the registry.

Then install latest JAVA JRE again:

Link Removed

peter7769

New Member
Joined
Sep 30, 2010
Messages
8
Thread Author #3
Thanks but that link appears to be concerened with java programming and compiling a java file to run correctly in the first place. :-(
 

TorrentG

Banned
Joined
May 31, 2010
Messages
7,774
Hey there. I would simply uninstall the Java. Reboot. Then run Ccleaner to clean the unnecessary files from the hdd and then too for the registry.

Then install latest JAVA JRE again:

Link Removed
 

Solution

peter7769

New Member
Joined
Sep 30, 2010
Messages
8
Thread Author #5
Thanks for your suggestion but i treid that exact thing last night but im afraid it didnt help.

Pete
 

peter7769

New Member
Joined
Sep 30, 2010
Messages
8
Thread Author #6
Hi
I have no idea how it happened it must have been something i did last night, but i switched the pc on when i got home tonight and its all back working!!!

Guess it must have been after the reboot that things must have sorted themselves out, i did change a few things in the registry so it can only have been that.

Thanks anyway

Pete
biggrin.gif