Jump to content

[Solved] [1.7.10] Running Minecraft in Eclipse Troubles, Help


Rane

Recommended Posts

Hey. I am quite new to this forum, as well as modding. I know a bit of Java, but have never modded before. I use a Mac. I have encountered a problem, and haven't been able to find the solution, so here we go. I followed the setup guide for Forge Gradle. I didn't notice any errors in Terminal. So I pointed the Eclipse directory to the 'eclipse' folder, as instructed by the guide. In Eclipse, everything seemed fine. No errors really, so I attempted to run Minecraft as an application. I got this error.

 

[14:47:57] [main/INFO]: Setting user: Rane1011

Exception in thread "main" java.lang.ClassCastException: sun.misc.Launcher$AppClassLoader cannot be cast to net.minecraft.launchwrapper.LaunchClassLoader

at cpw.mods.fml.common.ModClassLoader.<init>(ModClassLoader.java:46)

at cpw.mods.fml.common.Loader.<init>(Loader.java:181)

at cpw.mods.fml.common.Loader.instance(Loader.java:160)

at cpw.mods.fml.common.registry.GameData.addPrefix(GameData.java:901)

at cpw.mods.fml.common.registry.GameData.register(GameData.java:736)

at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.addObject(FMLControlledNamespacedRegistry.java:117)

at net.minecraft.block.Block.registerBlocks(Block.java:243)

at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:457)

at net.minecraft.client.Minecraft.<init>(Minecraft.java:333)

at net.minecraft.client.main.Main.main(Main.java:141)

 

 

I used these Arguments:

--version 1.6 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --accessToken FML --username Rane1011 --userProperties {} --password password

 

I don't know what to do. Please lead me in the right direction.

Thanks,

  ~Rane

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.