[Answered] Could not find or load main class Start
2 posters
MC Modding :: Help :: Help
Page 1 of 1
[Answered] Could not find or load main class Start
When I run startclient.bat I get this error:
P.S. I know this is a repeat topic but the one that already exists does not give how the guy found his solution.
P.S. I know this is a repeat topic but the one that already exists does not give how the guy found his solution.
Last edited by mastereric on Fri Oct 28, 2011 2:06 am; edited 1 time in total
mastereric- Member
- Posts : 30
Join date : 2011-10-26
Re: [Answered] Could not find or load main class Start
copy out your classes and put them in a folder do clean up and then decompile a new jar and copy in your .javas and then try it again
Re: [Answered] Could not find or load main class Start
Weird!
I copied the classes out, ran cleanup.bat, and then decompiled again. I saw Start.class under MCP_dirtytools\bin\minecraft . However, then I added my classes, recompiled. Had these error messages:
Then I run startclient and it has that error again! Where did start.class go? Does it have something to do with my code errors?
P.S. If you want to see my code you can.
I copied the classes out, ran cleanup.bat, and then decompiled again. I saw Start.class under MCP_dirtytools\bin\minecraft . However, then I added my classes, recompiled. Had these error messages:
Then I run startclient and it has that error again! Where did start.class go? Does it have something to do with my code errors?
P.S. If you want to see my code you can.
mastereric- Member
- Posts : 30
Join date : 2011-10-26
Re: [Answered] Could not find or load main class Start
its your mod in the file mod_DirtyTools read the errors and go and fix them
Re: [Answered] Could not find or load main class Start
According to the errors, Line 15 is causing 2 of the 3 errors, but I see no problem! Here is my code?
- Code:
package net.minecraft.src;
public class mod_DirtyTools extends BaseMod
{
public static final Item dirtyingot = new Item(30000).setItemName("dirtyingot");
public mod_DirtyTools()
{
dirtyingot.iconIndex = ModLoader.addOverride("/gui/items.png", "/dirtytools/dirtyingot.png");
ModLoader.AddName(dirtyingot, "Dirty Ingot");
ModLoader.AddRecipe(new ItemStack(dirtyingot, 1), new Object[] {
"SSS", "DDD", "SSS", Character.valueOf('S'), Block.sand, Character.valueOf('D'), Block.dirt
});
public String Version();
{
return "1.8.1";
}
}
mastereric- Member
- Posts : 30
Join date : 2011-10-26
Re: [Answered] Could not find or load main class Start
I copied Fresh from [url=https://mcmodding.4umer.com/t7-181-item] this thread, then changed the item where needed and got this error:
EDIT: I thought 'Wait a minute... these all mention modloader!'
So I checked and i forgot to install modloader in the new bin folder!
BRB While I try again
EDIT2: Here's what happened:
After installing modloader, fixing a misplaced capital letter, and adding a forgotten texture file, it worked perfectly!
EDIT3: Forgot to mark as answered. I marked it as answered now.
EDIT: I thought 'Wait a minute... these all mention modloader!'
So I checked and i forgot to install modloader in the new bin folder!
BRB While I try again
EDIT2: Here's what happened:
After installing modloader, fixing a misplaced capital letter, and adding a forgotten texture file, it worked perfectly!
EDIT3: Forgot to mark as answered. I marked it as answered now.
mastereric- Member
- Posts : 30
Join date : 2011-10-26
Similar topics
» [Answered] Cant find main class start
» Image not Found
» [Answered] ore mining help
» [Answered] tree
» [Answered]Reobfuscate
» Image not Found
» [Answered] ore mining help
» [Answered] tree
» [Answered]Reobfuscate
MC Modding :: Help :: Help
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum