java virtual machine launcher headache

C

christopher

When starting up my computer i always get faced with the message "cannot
find the main class, program will exit", on the desktop. This is
referring to the java virtual machine launcher. It has been happening
for a couple of weeks now. Me being a PC dummy i don't know how to go
about fixing this problem. Can anyone out there give me some advice on
steps that can be taken to fix this little annoyance. A reward of £100
is on offer (only kidding), but any advice would be much
appreciated!!!


Regards,

Christopher.
 
G

Guest

Hi, you can try by opening internet explorer window>>> select TOOLS >>>
Options>>> Advanced Tab>>>scroll down to Java and make sure the boxes are
enabled and then reboot system. Option #2 is go to www.java.com and update
your java. Hope this helps.
 
G

George Hester

Well in a java program the main class is usually the entry point of the
program. If there is no main the program will fail with that error message
main cannot be found. So you likely have a program has .java as its
extension which is trying to fire up at boot. Search the registry for .java
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top