Jump to content
  • Home
  • Files
  • Docs
  • Merch
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • Setting up WorkSpace Error with Eclipse MC 1.12.2
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 1
sasafras442

Setting up WorkSpace Error with Eclipse MC 1.12.2

By sasafras442, April 14 in ForgeGradle

  • Reply to this topic
  • Start new topic

Recommended Posts

sasafras442    0

sasafras442

sasafras442    0

  • Tree Puncher
  • sasafras442
  • Members
  • 0
  • 7 posts
Posted April 14
FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':forgeGradleUserDevPackage'.
> Could not resolve net.minecraftforge:forge:1.12.2-14.23.5.2768.
  Required by:
      com.yourname.modid:forge-1.12.2-14.23.5.2768-mdk:1.0
   > Could not resolve net.minecraftforge:forge:1.12.2-14.23.5.2768.
      > Could not get resource 'https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-14.23.5.2768/forge-1.12.2-14.23.5.2768.pom'.
         > Could not GET 'https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-14.23.5.2768/forge-1.12.2-14.23.5.2768.pom'.
            > sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

help please!

  • Quote

Share this post


Link to post
Share on other sites

DaemonUmbra    354

DaemonUmbra

DaemonUmbra    354

  • Reality Controller
  • DaemonUmbra
  • Forum Team
  • 354
  • 6340 posts
Posted April 14

Update Java

  • Quote

Share this post


Link to post
Share on other sites

sasafras442    0

sasafras442

sasafras442    0

  • Tree Puncher
  • sasafras442
  • Members
  • 0
  • 7 posts
Posted April 14

it's fully up to date

  • Quote

Share this post


Link to post
Share on other sites

DaemonUmbra    354

DaemonUmbra

DaemonUmbra    354

  • Reality Controller
  • DaemonUmbra
  • Forum Team
  • 354
  • 6340 posts
Posted April 14

Is this from an IDE or are you running commands in a terminal?

  • Quote

Share this post


Link to post
Share on other sites

sasafras442    0

sasafras442

sasafras442    0

  • Tree Puncher
  • sasafras442
  • Members
  • 0
  • 7 posts
Posted April 14

Im on mac running the command ./gradlew setupDecompWorkspace

  • Quote

Share this post


Link to post
Share on other sites

DaemonUmbra    354

DaemonUmbra

DaemonUmbra    354

  • Reality Controller
  • DaemonUmbra
  • Forum Team
  • 354
  • 6340 posts
Posted April 14 (edited)

Type javac -version and tell me what it says.

Edited April 14 by DaemonUmbra
  • Quote

Share this post


Link to post
Share on other sites

sasafras442    0

sasafras442

sasafras442    0

  • Tree Puncher
  • sasafras442
  • Members
  • 0
  • 7 posts
Posted April 14
error: Class names, 'version', are only accepted if annotation processing is explicitly requested
1 error

thats what i got

  • Quote

Share this post


Link to post
Share on other sites

DaemonUmbra    354

DaemonUmbra

DaemonUmbra    354

  • Reality Controller
  • DaemonUmbra
  • Forum Team
  • 354
  • 6340 posts
Posted April 14

javac -version, sorry

  • Quote

Share this post


Link to post
Share on other sites

sasafras442    0

sasafras442

sasafras442    0

  • Tree Puncher
  • sasafras442
  • Members
  • 0
  • 7 posts
Posted April 14

javac 1.8.0_91

  • Quote

Share this post


Link to post
Share on other sites

DaemonUmbra    354

DaemonUmbra

DaemonUmbra    354

  • Reality Controller
  • DaemonUmbra
  • Forum Team
  • 354
  • 6340 posts
Posted April 14

You are not up to date. Update your JDK.

  • Quote

Share this post


Link to post
Share on other sites

sasafras442    0

sasafras442

sasafras442    0

  • Tree Puncher
  • sasafras442
  • Members
  • 0
  • 7 posts
Posted April 14

Ugh sorry. I just typed in Java update and tried updating it from there and it said I was up to date. Anyway I updated and got this error now.

 

Could not determine java version from '12'.

 

  • Quote

Share this post


Link to post
Share on other sites

DaemonUmbra    354

DaemonUmbra

DaemonUmbra    354

  • Reality Controller
  • DaemonUmbra
  • Forum Team
  • 354
  • 6340 posts
Posted April 14

You need to use Java 8 for 1.12.2, just not the ancient version of 8 you had before.

  • Quote

Share this post


Link to post
Share on other sites

sasafras442    0

sasafras442

sasafras442    0

  • Tree Puncher
  • sasafras442
  • Members
  • 0
  • 7 posts
Posted April 14

It's currently doing its thing. Sorry it was such a simple solution, I'm all new to this. Thank you!

  • Quote

Share this post


Link to post
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

  • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • jgfarrell
      I'm having trouble with Java on !MAC!

      By jgfarrell · Posted 42 minutes ago

      Sorry Junior.   I thought I was going to be a hero!   Good luck.
    • diesieben07
      [1.14.4] [Solved] Trouble With Packets

      By diesieben07 · Posted 1 hour ago

      If you do this, then there is no point having the capability. Just store it in the stack's NBT tag directly at that point...
    • Cerandior
      [1.14.4] [Solved] Trouble With Packets

      By Cerandior · Posted 1 hour ago

      Yeah, I registered the entity and everything is fine now.
    • Cerandior
      [1.14.4] [Solved] Trouble With Packets

      By Cerandior · Posted 2 hours ago

      I have no idea man. I tried setting the breakpoints at different parts of the class because intelliJ displays a tree of all the methods called at that point and I never found any of the shareTags methods where I expected them to be. And I know, what I did doesn't really make too much sense because the stack should call the readShareTag and getShareTag automatically (I did look into a lot of methods related to itemstacks), but for some reason nothing was working as expected for me. I just tried that and everything works fine now, if I get rid of that line of code nothing works again.   As for the entity, that is probably caused by the "unique" type of zombie that my staff spawns. I forgot to register that in my registry events. I am surprised the entity was spawning considering I haven't registered them actually. I will register them right now, and check if the error will persist. Thank you for your help.
    • diesieben07
      on/off button for custom furnace

      By diesieben07 · Posted 2 hours ago

      Any GUI that has a button on it. MainMenuScreen for example.
  • Topics

    • Junior240
      4
      I'm having trouble with Java on !MAC!

      By Junior240
      Started November 9

    • Cerandior
      10
      [1.14.4] [Solved] Trouble With Packets

      By Cerandior
      Started Yesterday at 03:20 PM

    • plugsmustard
      18
      on/off button for custom furnace

      By plugsmustard
      Started Yesterday at 03:11 PM

    • AkosM
      3
      Increase target's damage via usable item

      By AkosM
      Started 18 hours ago

    • leesj
      3
      How to Give potion effect to entity

      By leesj
      Started Yesterday at 03:01 PM

  • Who's Online (See full list)

    • Fifou_BE
    • mr.denqu
    • Narcato
    • matorassan
    • Jvramegared
    • realsjg
    • diesieben07
    • Draco18s
    • Zimphire
    • zlappedx3
    • loordgek
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • Setting up WorkSpace Error with Eclipse MC 1.12.2
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community