Jump to content

Recommended Posts

Posted

I switched to a different PC for development recently and I'm trying to set up a new Forge 10.13.4.1558 environment. Running gradlew setupDecompWorkspace runs fine until it reaches :decompile, at which point it crashes with "Process 'command 'C:\Program Files\Java\jdk1.8.0_74\bin\java.exe'' finished with non-zero exit value 1". Running with --debug and --stacktrace gives the following information:

 

 

  Reveal hidden contents

 

 

The decompile command and environment:

 

 

  Reveal hidden contents

 

 

If I try executing that command in the correct working directory, I end up with:

 

Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object

 

Interestingly, using java.exe from the JRE instead of the JDK executes correctly and I tried decompiling Minecraft like that in the hope that Gradle would skip decompilation, but no dice. I am running Windows 10 Pro and Java 8u74. I'm also using the stable_12 MCP mappings. Other Java programs, Minecraft and Eclipse included, run fine.

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.