Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

So.. been trying to learn how to mod and all that.. started watching tutorials.. Teaching myself java and everything. I literally just started.. downloaded Forge and watched the videos how to install Eclipse and all that... But when I click the play button in eclipse, minecraft won't start and I get this string of errors... I am a total noob, I'm sure it's simple but I just can't figure out what I am looking at yet =\ any help would be really nice... and I'll try to follow whatever advice I am given.

 

 

Sep 26, 2014 9:45:41 PM net.minecraft.launchwrapper.LogWrapper log

INFO: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

Sep 26, 2014 9:45:41 PM net.minecraft.launchwrapper.LogWrapper log

SEVERE: Unable to launch

java.lang.ClassNotFoundException: cpw.mods.fml.common.launcher.FMLTweaker

at java.net.URLClassLoader$1.run(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)

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:102)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)

at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

 

I cant see anything obvious but one problem i know of is that it dosnt work with java 8

in the menu select "Project" > "Properties"

then select "Java Build Path"

then select the "Libraries" tab"

scroll to the bottom and tell us what JRE System Library is being used

 

  • Author

Okay, it says I am using "JRE System Library [JavaSE-1.6]"

 

that's exactly what it says.. I've tried doing this on my mac, my laptop.. and now I am trying it on my new PC.. and every single time, I can't get it to work =(

 

The main reason I am trying to do this is so I can learn how to use the Ore dictionary so I can make railcraft work with Terrafirmacraft hah...

  • Author

Gradle installer?... I got no errors from anything when it installed. On eclipse I have one warning down in the bottom that says this

 

"Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment."

 

and the video I followed with links to downloads was this

 

https://www.youtube.com/watch?v=Nd5QnNJyaqE

Make sure that you have the jres and jdks for whatever Java version your using (I have 1.7.60. I think). Do you know the whole gradlew.bat setup, that's what you should be using...

  • Author

Hm. All I know is I got the forge that installs stuff for making mods, then did what the video said and open up the MCP/eclipse folder with Eclipse... maybe I should just uninstall everything and try another tutorial video...

 

the Java stuff I installed was jdk-7u67-windows-x64 and jre-7u67-windows-x64 with the latest version of forge for 1.6.4..

First off, use 1.7, Lex(primary developer of forge) will get mad if you use 1.6

 

Download 10.13.1.1217 source(src) from http://files.minecraftforge.net

 

Extract it to a folder(preferably somewhere in documents or desktop)

 

Open a command prompt there

 

(In windows, let me know it you aren't) type "gradlew setupDecompWprkspace --refresh-dependencies eclipse" (no quotes)

 

Press enter

 

Get a snack

 

Let me know if it skips like everything or says build failed or something's else that sounds bad

 

Set your workspace to the eclipse folder

 

Make sure to select the 1.7 java jdk in run configurations -> client -> jre

 

Try running it.

 

If anything bad happens just stop and reply to this thread with details or thank me on the thread if it works!

  • Author

Alright thank you. I'll try that all right now... Do I need to uninstall java stuff or anything first?

 

thank you for the help... will I still be able to edit stuff for minecraft 1.6.4?

  • Author

went to the cmd prompt, typed in what you said exactly and it says

gradle is not  recognized as an internal or external command, operable program or batch files. Lol... I feel so stupid.... sigh... no one has to try and help me anymore.. I am cursed to never get this thing to work.. ugh.

 

thank you all though.

Sure your on windows and used cd/ shift right click to set the command line directory to the forge folder (not eclipse) and typed it in correctly (gradlew, you replied gradle).

  • Author

Yes, I tried it both ways. I've probably just screwed everything up so bad It can't be fixed now... I'll keep working with it... and if I get anything I'll let you know. thanks again.

Tried which? Sure you're in the right folder? You downloaded the 1.7 src? Checked if there is a gradlew.bat in there? What OS are you on? Did you paste quotes? Send screenshots?

  • Author

Okay so it turns out that I never actually downloaded MCP... and that is why it wasn't working. The video I used never told me to do it.... so... that was the problem lol.

Ok but it's recommended to use gradle with 1.7... Especially since 1.8 is coming out. As you wish...

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.