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    356

DaemonUmbra

DaemonUmbra    356

  • Reality Controller
  • DaemonUmbra
  • Forum Team
  • 356
  • 6369 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    356

DaemonUmbra

DaemonUmbra    356

  • Reality Controller
  • DaemonUmbra
  • Forum Team
  • 356
  • 6369 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    356

DaemonUmbra

DaemonUmbra    356

  • Reality Controller
  • DaemonUmbra
  • Forum Team
  • 356
  • 6369 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    356

DaemonUmbra

DaemonUmbra    356

  • Reality Controller
  • DaemonUmbra
  • Forum Team
  • 356
  • 6369 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    356

DaemonUmbra

DaemonUmbra    356

  • Reality Controller
  • DaemonUmbra
  • Forum Team
  • 356
  • 6369 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    356

DaemonUmbra

DaemonUmbra    356

  • Reality Controller
  • DaemonUmbra
  • Forum Team
  • 356
  • 6369 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

    • saxon564
      [1.14.4] [UNSOLVED] Server Thread Freezes After Entity Explodes

      By saxon564 · Posted 28 minutes ago

      Unfortunately that was not the case, there was no change in the result at all.
    • CanadaMan
      illegal wheat?

      By CanadaMan · Posted 1 hour ago

    • CanadaMan
      illegal wheat?

      By CanadaMan · Posted 1 hour ago

      Okay so I'm trying to join one of my friends modded server and it said that illegal state of wheat was stopping me from joining
    • MrNoodles75
      [1.14.3] send message to chat

      By MrNoodles75 · Posted 2 hours ago

      @Draco18s I have been figuring everything out since then, by going through the default code and getting information on how to do something
    • AntonBespoiasov
      attackEntityFrom() doesn't work. 1.12.2

      By AntonBespoiasov · Posted 3 hours ago

      public ItemStack onItemUseFinish(ItemStack stack, World worldIn, EntityLivingBase entityLiving) { Entity entity = ModMath.getMouseOver(Minecraft.getMinecraft().getRenderPartialTicks(), 0); // Gets entity that entityLiving is looking at if (entity != null && entity instanceof EntityLiving) { ((EntityLiving)entity).attackEntityFrom(DamageSource.MAGIC, 2.0f); ((EntityLiving)entity).setRevengeTarget(entityLiving); } return stack; }   Using item that has the implementation of the method above doesn't damage entity. Debugging it showed that attackEntityFrom() is called, code within if statement is executed but entity isn't attacked. I looked into Minecraft's files that use attackEntityFrom() and observed that they just call attackEntityFrom(), just one line of code(I assume that something else that can affect entity attacking process was called before attackEntityFrom() in that files). How can I solve this problem? How can I deal damage to entity?
  • Topics

    • saxon564
      9
      [1.14.4] [UNSOLVED] Server Thread Freezes After Entity Explodes

      By saxon564
      Started Friday at 05:11 AM

    • CanadaMan
      1
      illegal wheat?

      By CanadaMan
      Started 1 hour ago

    • MrNoodles75
      17
      [1.14.3] send message to chat

      By MrNoodles75
      Started Monday at 08:19 PM

    • AntonBespoiasov
      0
      attackEntityFrom() doesn't work. 1.12.2

      By AntonBespoiasov
      Started 3 hours ago

    • Lordyammer
      1
      How to start learning

      By Lordyammer
      Started 4 hours ago

  • Who's Online (See full list)

    • gendeathrow
    • kwagpinv2
    • Draco18s
    • J0WAY
    • Naiakoa
    • fuzzyweapon
    • ShetiPhian
  • 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