wom client error
13 replies [Last post]
brownbie's picture
brownbie
WoM Member
Members
Joined: 09/09/2010
Last seen: 1 year 21 weeks ago
Points: 0
0 votes

just so we are clear i followed the instructions exactly ill even quote them for you

"NOTE:

    AS PER THE MINECRAFT DISTRIBUTION POLICY:
    This package does not contain the original client code "minecraft.jar" which is
    copyright and the intellectual property of Mojang Specifications.

    We do not have the right to package this file and distribute it to you, so you
    will need to download this component from the official minecraft website and
    place it into the lib folder of the extracted custom client wrapper package yourself.

    It's URL is: http://minecraft.net/client/minecraft.jar"

as you can see it instructs you to download the the mincraft.jar not the .exe which i did then i place it in the lib folder located within the wom client folder and proceeded to run the bat file which produced this

Autodetecting java
Testing x86 folder
Checking C:\Program Files (x86)\Java\jre6 folder
Found java in C:\Program Files (x86)\Java\jre6 folder
Starting java from "C:\Program Files (x86)\Java\jre6\bin\java.exe"
Exception in thread "main" java.lang.NoClassDefFoundError: com/mojang/minecraft/
MinecraftApplet
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        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)
Caused by: java.lang.ClassNotFoundException: com.mojang.minecraft.MinecraftApple
t
        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)
        ... 12 more
Could not find the main class: Main.  Program will exit.
ERROR: Failed to run minecraft
JAVA6="C:\Program Files (x86)\Java\jre6\bin\java.exe"
Press any key to continue . . .

help would be much appreciated and please if your going to post and tell me to read the instructions and put the jar in the correct folder just dont post.

-------------------------------------------------------------------------------------
Edit: To help you answer my question i assume you would need to know my os its windows 7 professional 64 bit. Also i found that if i run it in admin a smaller error occurs its posted below.
-------------------------------------------------------------------------------------
Starting java from "C:\Program Files (x86)\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.
========================================
Warning: lib\minecraft.jar not found.
Did you read instructions / download it?
========================================
ERROR: Failed to run minecraft
JAVA6="C:\Program Files (x86)\Java\jre6\bin\java.exe"
Press any key to continue . . .
I hope we can fix this problem because ive been looking around and it seems im not the only one having it.

fvari's picture
fvari
WoM Member
Members
Joined: 09/09/2010
Last seen: 1 year 21 weeks ago
Points: 0
also getting this error

also getting this error

AutomatedChip's picture
AutomatedChip
WoM Member
Members
Joined: 08/26/2010
Last seen: 1 year 6 weeks ago
Points: 0
Well, could not find class:

Well, could not find class: Main, means that minecraft.jar isnt in the lib folder.

I know you said you did this, but double check for me. ;)
ALSO! Alpha .jar's do not work.  so make sure to download the non-alpha.

Next, Make sure you have downloaded the latest JDK's (Java).

Google will help you find the download links. ;)

After you have done all that, run, run.bat as administrator.

This is done by rightclicking run.bat and clicking "run as administrator"

-Best of Luck!

Jao247's picture
Jao247
WoM Member
Members
Joined: 09/06/2010
Last seen: 30 weeks 2 days ago
Points: -2
non-alpha .jar that might be

non-alpha .jar that might be the problem with mine we can this be gotten as i can only seem to get the mincraft.jar alpha file

i got the jar file from the download link beside alpha is that the only place to get it or is there another place to get the jar file??
thanks for saying this

waterrager's picture
waterrager
WoM Member
Members
Joined: 09/12/2010
Last seen: 29 weeks 5 days ago
Points: 0
Solution

I have recently had a error similar to this, I have found a solution that works for me and hopefully you to. Make a folder on your desktop ( Make sure you have it on your desktop), then put all the files that were in the wom client in the folder. Now put your minecraft.jar file in the lib folder now run it, it should work. Good Luck.

rebel2000z's picture
rebel2000z
WoM Member
Members
Joined: 09/28/2010
Last seen: 1 year 16 weeks ago
Points: 0
Where can I get minecraft.jar

Where can I get minecraft.jar non alpha?? the minecraft site doesn't have an option for getting older versions(that I can see).

atvar8's picture
atvar8
WoM Member
Members
Joined: 09/22/2010
Last seen: 10 weeks 5 days ago
Points: 0
WTF guys

I've asked every player I know about this, told them that my Client is installed EXACTLY as it is mentioned with the .Jar file in the lib folder, and the ONLY advice people can give is "You didn't put the .jar file in the /lib folder" At this point its gun-to-the-head frustrating..

Having exactly the same issue. Running Windows 7 64-bit with the latest Java updates and the 1.5.9 client download, and the .30 of the Minecraft.jar.

SO. Triple checking all the files are in their correct places, I start-up run.bat and low and behold THIS error message pops up:

Starting java from "C:\Program Files (x86)\Java\jre6\bin\java.exe"
Exception in thread "main" java.lang.NoClassDefFoundError: com/mojang/minecraft/
MinecraftApplet
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        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)
Caused by: java.lang.ClassNotFoundException: com.mojang.minecraft.MinecraftApple
t
        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)
        ... 12 more
Could not find the main class: Main.  Program will exit.
ERROR: Failed to run minecraft
JAVA6="C:\Program Files (x86)\Java\jre6\bin\java.exe"
Press any key to continue . . .

Okay. I've done everything right... now I go delete all my temp folders for Java, and both my browsers. Guess what? no change....

Does anybody have a decent answer for this?

awmegalon's picture
awmegalon
WoM Member
Members
Joined: 10/02/2010
Last seen: 1 year 17 weeks ago
Points: 0
/client/minecraft.jar does not exist

This post might seem off topic, but I think it could be important.

As I was reading the instructions, I wanted to download the minecraft.jar file, but my browser told me the link didn't seem to work. Instead, I opened a singleplayer minecraft Alpha game through the browser and thought it might give me the file. It did. (http://www.minecraft.net/game/minecraft.jar) However, since this is the only hickup when installing this client, it now also gives me the error that it can't find the Main class.
Is it possible that Mojang did something to the .jar files recently causing the client to no longer work as it should?

Mazel's picture
Mazel
WoM Member
Members
Joined: 09/29/2010
Last seen: 1 year 17 weeks ago
Points: 0
meh

I have the same issue I think.  Have any first timers got this to work in the past week?

edit:  darkterras posted the link to the old jar in another thread: http://www.worldofminecraft.com/node/9716     This worked for me!

Vostokapollo's picture
Vostokapollo
WoM Member
Members
Joined: 10/04/2010
Last seen: 1 year 17 weeks ago
Points: 0
I DON'T NEED A FREAKING SUBJECT

The website is down. I think Notch is deleting any bit of information about classic that he can.

Kiorrik's picture
Kiorrik
WoM Member
Members
Joined: 10/03/2010
Last seen: 1 year 17 weeks ago
Points: 0
Can't get it to work.

I've got the Alpha jar, didn't work.

It is really hard to find an answer to this "bug". Don't know what's going on, but it's annoying.

I get the same error, I'll copy paste it below, and I also tried the link in this topic: http://www.worldofminecraft.com/node/9716#comment-16639 that was mentioned earlier, but it didn't work.

If anyone has any idea what this might be (maybe a Windows 7 issue?) please, do post!

-----------------

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: com/mojang/minecraft/
MinecraftApplet
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        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)
Caused by: java.lang.ClassNotFoundException: com.mojang.minecraft.MinecraftApple
t
        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)
        ... 12 more
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 . . .

randomtyping's picture
randomtyping
WoM Member
Members
Joined: 12/13/2010
Last seen: 1 year 7 weeks ago
Points: 0
im getting a errer

im getting and error that says it cant find the null pointer? any help

geckonator's picture
geckonator
WoM Member
Members
Joined: 01/05/2011
Last seen: 16 weeks 1 day ago
Points: 5
not working

I did what you said Automated Chip but then it just added an error with the did you read the instructions thing :/
thanks for the help because you helped me once but now its not working.

SleepyJack's picture
SleepyJack
WoM Member
Members
Joined: 05/25/2010
Last seen: 32 weeks 4 days ago
Points: 0
same issue here aswell. tried

same issue here aswell.

tried again with a client I had stored on another hard drive. it launched, updated, closed and then when i tried to launch it got that same error.

maybe this has something to do with an update???

……………………………………..
…………………………._„„„„---~~~---,„_
……………………._,-“¯”~-,
……………….,-~”….”~-,___”-,
…………….,-“.,-“¯”~-,….¯”””””¯¯…….¯”~-,„
…………...,”-.( .(;¯;) . )……….,-~”¯””~,……¯”~
…………..-,…”-,¸¯„-~“…¯…”.”-, ,-“¯) . .)……….”-¸
………..,-“”~,„_„„„---~~~~---,„¸….¯””