Posted August 30, 201411 yr 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. Reveal hidden contents [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
August 31, 201411 yr 1) did you do the "./gradlew eclipse" command yet? 2) did you run the minecraft application itself, or did you run the program from eclipse ( which is what works for me)? Good luck!
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.