Jump to content

gradlew.bat not a valid win32 application


AssassinHero

Recommended Posts

hi,

 

I have just moved my forge folder from my desktop pc where i usually code to my laptop due to travelling.

 

i went to run gradlew.bat setupDecompWorkspace --refresh-dependencies and nothing happened so i went to click on gradlew.bat to see if it would do anything and was greeted with 'gradlew.bat is not a valid win32 application'.

 

my laptop is running 32 bit whereas my computer is running 64 bit.

 

Is there anyway i can fix this?

 

Thanks

STOP CRUCIFYING NEW MODDERS!!!!

Link to comment
Share on other sites

Not sure what you mean by "moved" it to the laptop.  But for example if your desktop was 64-bit or something maybe it would be a problem.  Anyway, try installing Forge fresh and just moving the project (ideally using something like github, but worst case start a new project on your laptop and import all the .java files.  If you're regularly working on multiple computers, I strongly suggest using github.  I have a tutorial on setting up SourceTree with github for easy version control: http://jabelarminecraft.blogspot.com/p/minecraft-forge-publishing-to-github.html

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Link to comment
Share on other sites

That's a very strange message to get from running a bat. Is it marked as an executable file? Is there another (hidden) file extension on it that is confusing Windoze? Did you change Windoze versions so that it no longer fits?

 

I agree with the fresh installation. It has been about ten years since you could simply copy an installed application's file hierarchy and have even a prayer of things running correctly.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

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.

Announcements



×
×
  • Create New...

Important Information

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