Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Error (cannot find main)


  • Please log in to reply
8 replies to this topic

#1

builder379

Posted 17 August 2010 - 07:00 PM

I keep having an error occour when I try to start the game. I am using windows xp. Can anyone help.

Autodetecting java
Testing default folder
Checking C:\Program Files\Java\jre6 folder
Found java in C:\Program Files\Java\jre6 folder
Starting java from "C:\Program Files\Java\jre6\bin\java.exe"
Exception in thread "main" java.lang.NoClassDefFoundError: Main
Caused by: java.lang.ClassNotFoundException: Main
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: Main. Program will exit.
ERROR: Failed to run minecraft
JAVA6="C:\Program Files\Java\jre6\bin\java.exe"
Press any key to continue . . .
No you.

Register or log in to remove.

#2

HappyHitman
  • Location: York, Yorkshire. Nothing but old people here.

Posted 17 August 2010 - 07:09 PM

Have you reinstalled Java? and / or updated it?
Posted Image

#3

builder379

Posted 17 August 2010 - 07:13 PM

yes thank you for your help i updated it yesterday and it still diddent work
No you.

#4

HappyHitman
  • Location: York, Yorkshire. Nothing but old people here.

Posted 17 August 2010 - 07:16 PM

Make a backup of Minecraft.jar and then delete the one in the .minecraft folder. Launch the game . See what happens.
Posted Image

#5

builder379

Posted 17 August 2010 - 07:32 PM

diffrent error

it says did you download that thing  ... im back one level i had that yester day before the other error message lol but nice try
No you.

#6

HappyHitman
  • Location: York, Yorkshire. Nothing but old people here.

Posted 17 August 2010 - 07:36 PM

Delete Minecraft.jar and you will be good to go :Notch:
Posted Image

#7

builder379

Posted 17 August 2010 - 08:09 PM

with what ?
No you.

#8

builder379

Posted 17 August 2010 - 08:20 PM

Replace Minecraft.jar with what

i have to go to bed so i wont be talking for about 6 to 12 hours
No you.

#9

HappyHitman
  • Location: York, Yorkshire. Nothing but old people here.

Posted 17 August 2010 - 10:42 PM

Sorry I meant to type Delete, I'm tired as well.
Posted Image