Jump to content
  • Home
  • Files
  • Docs
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
  • [1.8] Gradle setup fail
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
McCadenator

[1.8] Gradle setup fail

By McCadenator, November 17, 2015 in ForgeGradle

  • Start new topic

Recommended Posts

McCadenator    0

McCadenator

McCadenator    0

  • Tree Puncher
  • McCadenator
  • Members
  • 0
  • 2 posts
Posted November 17, 2015

When I try to set up the new forge MDK it fails every time its only with the new MDK versions. Does any one know why this is happening?

By the way I'm on a Mac.

 

 

 

#################################################

        ForgeGradle 2.0-SNAPSHOT       

  https://github.com/MinecraftForge/ForgeGradle 

#################################################

              Powered by MCP 9.10             

            http://modcoderpack.com           

        by: Searge, ProfMobius, Fesh0r,       

        R4wk, ZeuX, IngisKahn, bspkrs         

#################################################

:deobfCompileDummyTask

:deobfProvidedDummyTask

:getVersionJson

:extractUserdev

Download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.8-11.14.4.1565/forge-1.8-11.14.4.1565.pom

Download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.8-11.14.4.1565/forge-1.8-11.14.4.1565-userdev.jar

:extractDependencyATs SKIPPED

:extractMcpData SKIPPED

:extractMcpMappings SKIPPED

:genSrgs SKIPPED

:downloadClient SKIPPED

:downloadServer SKIPPED

:splitServerJar SKIPPED

:mergeJars SKIPPED

:deobfMcSRG

Applying SpecialSource...

Applying Exceptor...

:getFernFlower SKIPPED

:decompileMc

:fixMcSources

:applySourcePatches

:remapMcSources

:recompileMc

[ant:javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6

[ant:javac] /Users/jeff/Desktop/Forge Dev/CrazyCraft/build/tmp/recompileMc/sources/net/minecraftforge/client/model/obj/OBJModel.java:617: error: cannot find symbol

[ant:javac]                    material.getColor().setW(alpha);

[ant:javac]                                        ^

[ant:javac]  symbol:  method setW(float)

[ant:javac]  location: class Vector4f

[ant:javac] Note: Some input files use or override a deprecated API.

[ant:javac] Note: Recompile with -Xlint:deprecation for details.

[ant:javac] Note: Some input files use unchecked or unsafe operations.

[ant:javac] Note: Recompile with -Xlint:unchecked for details.

[ant:javac] 1 error

[ant:javac] 1 warning

:recompileMc FAILED

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':recompileMc'.

> Compile failed; see the compiler error output for details.

 

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

 

BUILD FAILED

 

Total time: 4 mins 40.693 secs

Share this post


Link to post
Share on other sites

Choonster    1651

Choonster

Choonster    1651

  • Reality Controller
  • Choonster
  • Forge Modder
  • 1651
  • 5097 posts
Posted November 17, 2015

See this issue for a solution.


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.

Share this post


Link to post
Share on other sites

Cyrindune    0

Cyrindune

Cyrindune    0

  • Tree Puncher
  • Cyrindune
  • Members
  • 0
  • 4 posts
Posted November 21, 2015

See this issue for a solution.

 

The resolution in that thread was to delete vecmath.jar in System > Library > Extensions, but I can't find such a file.  I do have hidden files visible, so I'm pretty sure it's not hiding out somewhere in the folder.  Is there any other solution you might know of?

Share this post


Link to post
Share on other sites

Choonster    1651

Choonster

Choonster    1651

  • Reality Controller
  • Choonster
  • Forge Modder
  • 1651
  • 5097 posts
Posted November 21, 2015

See this issue for a solution.

 

The resolution in that thread was to delete vecmath.jar in System > Library > Extensions, but I can't find such a file.  I do have hidden files visible, so I'm pretty sure it's not hiding out somewhere in the folder.  Is there any other solution you might know of?

 

I'm afraid I can't help you any further. That was the only discussion of this error I've seen.


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.

Share this post


Link to post
Share on other sites

Cyrindune    0

Cyrindune

Cyrindune    0

  • Tree Puncher
  • Cyrindune
  • Members
  • 0
  • 4 posts
Posted November 21, 2015

See this issue for a solution.

 

I have one more idea.  Perhaps you might be able to interpret these two lines for me?  These are the first two "warning" lines that I can find, or at least the first ones that have any mention of something going wrong.

 

[ant:javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6

[ant:javac] /Users/isaacrule/Desktop/forge/forge_1.8_source/build/tmp/recompileMc/sources/net/minecraftforge/client/model/obj/OBJModel.java:617: error: cannot find symbol

 

It mentions a path not being set, and then provides a file path and says it can't find a symbol.  When I was looking at various tutorials for setting this up on Windows, there was a Java PATH variable step that I couldn't figure out how to translate over to OSX terms.  Perhaps me skipping this step is the problem?

Share this post


Link to post
Share on other sites

Choonster    1651

Choonster

Choonster    1651

  • Reality Controller
  • Choonster
  • Forge Modder
  • 1651
  • 5097 posts
Posted November 21, 2015

The two lines are completely unrelated.

 

The first is just a warning (not an error) that you're targeting an older version of Java but using the classes from the current compiler, this means that your code will only use language features from the old version but may still use classes or methods introduced in a newer version (which means your code may crash at runtime when run on the old version of Java). See this page and the pages linked by it for more details. This StackOverlflow answer explains how to set the path from Gradle.

 

The second is the start of the actual compilation error.


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.

Share this post


Link to post
Share on other sites

Cyrindune    0

Cyrindune

Cyrindune    0

  • Tree Puncher
  • Cyrindune
  • Members
  • 0
  • 4 posts
Posted November 21, 2015

See this page and the pages linked by it for more details. This StackOverlflow answer explains how to set the path from Gradle.

 

I'm new to forge and gradle.  I am not sure how to approach this solution because I don't know how to do anything "from" Gradle.  Is there a particular file I should open up and edit from the forge source files?

Share this post


Link to post
Share on other sites

Choonster    1651

Choonster

Choonster    1651

  • Reality Controller
  • Choonster
  • Forge Modder
  • 1651
  • 5097 posts
Posted November 22, 2015

See this page and the pages linked by it for more details. This StackOverlflow answer explains how to set the path from Gradle.

 

I'm new to forge and gradle.  I am not sure how to approach this solution because I don't know how to do anything "from" Gradle.  Is there a particular file I should open up and edit from the forge source files?

 

Put the code in your build.gradle script and set the environment variable it uses. This will likely only fix the warning, not the error.


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.

Share this post


Link to post
Share on other sites

karlthepagan    2

karlthepagan

karlthepagan    2

  • Tree Puncher
  • karlthepagan
  • Members
  • 2
  • 14 posts
Posted December 1, 2015

In case anyone finds this thread but not the comment by kenzierocks, the OSX vecmath issue is fixed in ForgeGradle 2.0-SNAPSHOT (at this time 2.0.3 not yet released)

Share this post


Link to post
Share on other sites

gar0u    1

gar0u

gar0u    1

  • Tree Puncher
  • gar0u
  • Members
  • 1
  • 5 posts
Posted December 12, 2015

We are having the exact same problem.  Have not been able to get the following command to work:

 

./sudo gradlew setupDecompWorkspace eclipse

 

for several versions of the source code now.  Deleting  'vecmath' helped us get further on the 'recompileMc' step, but we are stuck at the same error as the OP.

 

Will post a solution if I find one...

Share this post


Link to post
Share on other sites

gar0u    1

gar0u

gar0u    1

  • Tree Puncher
  • gar0u
  • Members
  • 1
  • 5 posts
Posted December 21, 2015

I decided to sit down tonight and get this working.  After about an hour, I finally saw "BUILD SUCCESSFUL"!

 

I started a new thread with the instructions so that other Mac users can more easily find the solution.

 

Share this post


Link to post
Share on other sites

Arizonar    0

Arizonar

Arizonar    0

  • Tree Puncher
  • Arizonar
  • Members
  • 0
  • 3 posts
Posted September 15, 2019

It failed recompilemc and says 

Unable to find javac complier; com.sun.tools.javac.main is not it classpath. Perhaps JAVA_HOME does not point to the jdk

Share this post


Link to post
Share on other sites

diesieben07    7583

diesieben07

diesieben07    7583

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7583
  • 54911 posts
Posted September 15, 2019

This thread is 4 years old and your problem is completely unrelated.

Make your own thread.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • DrakenXI
      [1.16.4] setBlockState with out send update event.

      By DrakenXI · Posted 11 minutes ago

      Thanks for your reply. You gave me another idea for a solution.   19 :  1 will cause a block update. 2 will send the change to clients. 16 will prevent neighbor reactions (e.g. fences connecting, observers pulsing). That what I found in Minecraft source for "setBlockState" Function. 🤨    
    • Somonestolemyusername
      [1.15.2] How Would I make a custom bow?

      By Somonestolemyusername · Posted 15 minutes ago

      all i has in it is  package com.vicken.mod3.entities.projectiles; import com.vicken.mod3.util.RegistryHandler; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.block.WallTorchBlock; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.item.ItemEntity; import net.minecraft.entity.projectile.ArrowEntity; import net.minecraft.item.ItemStack; import net.minecraft.item.Items; import net.minecraft.potion.EffectInstance; import net.minecraft.potion.Effects; import net.minecraft.util.Direction; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockRayTraceResult; import net.minecraft.util.math.RayTraceResult; import net.minecraft.world.World; public class Ak47ArrowEntity extends ArrowEntity { public Ak47ArrowEntity(World worldIn, LivingEntity shooter) { super(worldIn, shooter); RegistryHandler.BULLET.get(); } @Override protected void arrowHit(LivingEntity living) { super.arrowHit(living); living.setFire(15); } }
    • Somonestolemyusername
      [1.15.2] How Would I make a custom bow?

      By Somonestolemyusername · Posted 17 minutes ago

      ok can u help write the code? i started learning to mod a few weeks ago all i know is items armors block recipes and other stuff. also I already have a projectile class named Ak47ArrowEntity
    • Thorius
      [1.15.2] How Would I make a custom bow?

      By Thorius · Posted 2 hours ago

      You have to create a new bullet entity class but you can use the snowball as a template. In kinematics there's not much difference between a snowball and a bullet. If it looks and hurts like a bullet then it's a bullet. But you have to register it as a new entity.
    • Ipsissimus418
      [1.16.4] WorldTickEvent Concurrent Access Exception

      By Ipsissimus418 · Posted 2 hours ago

      That is something I hadn't considered in terms of threads.   I have the WorldTickEvent handler do nothing on the client but run on the server. I may have some paths for the addEntry running on both the client and server. Something I need to look into and check if that is where the conflict is coming from.   Thanks.
  • Topics

    • DrakenXI
      2
      [1.16.4] setBlockState with out send update event.

      By DrakenXI
      Started 20 hours ago

    • Somonestolemyusername
      16
      [1.15.2] How Would I make a custom bow?

      By Somonestolemyusername
      Started Tuesday at 09:30 PM

    • Ipsissimus418
      2
      [1.16.4] WorldTickEvent Concurrent Access Exception

      By Ipsissimus418
      Started 3 hours ago

    • kiou.23
      14
      [1.16] Custom Sign won't render

      By kiou.23
      Started 12 hours ago

    • PedreHenrry
      5
      my minecraft crashed by "rendering overlay"

      By PedreHenrry
      Started Yesterday at 01:06 PM

  • Who's Online (See full list)

    • matterice
    • FloweyTF
    • XenoPyax
    • DrakenXI
    • Mrcactus1
    • AntiRix
    • Qrani
    • Somonestolemyusername
    • lliinnkk10
    • kiou.23
    • starstorms21
    • visualysacha
    • KatjaREDMedic
    • Gabbyboy1233539
    • Lellian
    • MrBelieve
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • [1.8] Gradle setup fail
  • Theme

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