Jump to content

Recommended Posts

Posted

Hello, I'm very sorry to bother you, but I've been having problems getting Gradle to work for the Forge src. Since I'm fairly new to forge modding, and have never dealt with Gradle whatsoever, there's a decent chance I've missed something completely obvious. If so, you have my sincerest apologies. Sometimes my having Java 6 (on account of still being in Snow Leopard) can mess things up, like it said in the pinned thread, so if that has anything to do with it, again, I'm sorry.

 

I've been looking up this problem for the past couple hours, and have not found anything to fix it, so I thought I might as well ask here. No matter what tutorial I follow, I always get the same error. Here is what it says in Terminal, and since I couldn't find any other logs, I'll just post this here. If I need to use something like Pastebin, again, I'm sorry, I may not have seen all the rules.

 

 

 

Exception in thread "main" java.lang.NoClassDefFoundError: org/gradle/wrapper/GradleWrapperMain

Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain

at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

 

 

 

I really hope I didn't just cause some great modder to facepalm. Anyways, thanks for reading this!

Posted

What command did you run?

Oh, and BTW, you might want to consider upgrading to Mavericks, it's free.

Read the EAQ before posting! OR ELSE!

 

This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

Posted

I've run many commands. First I was following the tutorial located on the MCForge Wiki. I got stuck on step 3. I followed quite a few internet guides, many of which seemed to jump to something similar to step 4. I tried many different variations, with only a few being: (Without the dashes)

- ./gradlew setupDecompWorkspace --refresh-dependencies

- sh gradlew setupDevWorkspace eclipse

- ./gradlew eclipse

 

Also, I'd prefer to stay with Snow Leopard as long as I can. I'm not as much of a fan of the later operating systems, even though I know Mavericks has increased performance/decreased power use and stuff. Until I have to change, I just use another computer when I need to use Java 7/anything not compatible with 10.6.

Posted

Right.. Why not?

 

And, are you using the Forge SRC files, or did you write your own build.gradle?

Read the EAQ before posting! OR ELSE!

 

This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

Posted

The standard Forge SRC. I downloaded it multiple times, trying both the recommended version and las test version.

 

As for OSX, it's probably just my being used to 10.6, but I just prefer using it. Also, I really don't like the finder of the later versions. I'd rather not switch unless I had to.

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.

Announcements



×
×
  • Create New...

Important Information

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