Jump to content

[SOLVED]Cannot gradlew (Setup workspace, Eclipse) Errors


Recommended Posts

Posted

I have tried to setup "gradlew setupDecompWorkspace" and "gradlew eclipse" but when Im finnished editing the files and run them, then do I get an error that I cannot see because of the bat is canceled to fast. What's the error? I don't find anything about this error and I did same things as MrCrayFish 1.8 modding tutorial. But still I get theese error I also tried downloading Scala but that didn't help. I did a path to find java and it help fixing errors on Eclipse but not this error.

 

Heres some information about my computer:

Windows 10 Home 64 bits.

Jre/JDK (Latest version) 64 bits (x64)/(x86).

Eclipse Mars Java

 

Sorry for my bad English, I'm Swedish.

 

 

Posted

Do not use a bat file. Open a command line and run the commands from there.

This.

 

For future reference, adding

pause

on a new line at the bottom of a bat file will prevent it from closing automatically. There's really no reason for your gradlew commands to be executed from a bat, but knowing that may be helpful in future scenarios.

Did I help you? Don't be afraid to give that 'thank you' button a good smack for me!

It's been looking at me weirdly for a while now.

Posted

Move your mod to a directory without an ampersand (

&

) in its name or install Gradle locally. The Gradle Wrapper doesn't work if there's an ampersand in the path.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

Move your mod to a directory without an ampersand (

&

) in its name or install Gradle locally. The Gradle Wrapper doesn't work if there's an ampersand in the path.

 

Omg it worked! Thanks :)

You are my hero!

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.