Jump to content

Execution Failed For Task ' :compilejava'


rastus2203

Recommended Posts

Hi,

I am unable to compile mod mods as the gradle thingy isn't working.

Here is my error report. (In the command window i typed gradlew build --stacktrace)

 

 

 

The assetDir is deprecated!  Use runDir instead! runDir set to eclipse/assets/..The assetDir is deprecated!  Use runDir instead! runDir set to eclipse/assets/..

 

****************************

Powered By MCP:           

http://mcp.ocean-labs.de/ 

Searge, ProfMobius, Fesh0r,

R4wk, ZeuX, IngisKahn     

MCP Data version : unknown

****************************

:compileApiJava UP-TO-DATE

:processApiResources UP-TO-DATE

:apiClasses UP-TO-DATE

:sourceMainJava

:compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.6

C:\Toms minecraft stuff\ModdingForge\build\sources\java\rastus22\moreCraftingRecipes\client\ClientProxy.java:4: error: package tutorial.generic does not exist

import tutorial.generic.CommonProxy;

                      ^

C:\Toms minecraft stuff\ModdingForge\build\sources\java\rastus22\moreCraftingRecipes\client\ClientProxy.java:6: error: cannot find symbol

public class ClientProxy extends CommonProxy {

                                ^

  symbol: class CommonProxy

C:\Toms minecraft stuff\ModdingForge\build\sources\java\rastus22\moreCraftingRecipes\MoreCraftingRecipes.java:38: error: cannot find symbol

                GameRegistry.addShapelessRecipe(new ItemStack(Items.flint, 64), new ItemStack(Blocks.fire));

                                                    ^

  symbol:  class ItemStack

  location: class MoreCraftingRecipes

C:\Toms minecraft stuff\ModdingForge\build\sources\java\rastus22\moreCraftingRecipes\MoreCraftingRecipes.java:38: error: cannot find symbol

                GameRegistry.addShapelessRecipe(new ItemStack(Items.flint, 64), new ItemStack(Blocks.fire));

                                                              ^

  symbol:  variable Items

  location: class MoreCraftingRecipes

C:\Toms minecraft stuff\ModdingForge\build\sources\java\rastus22\moreCraftingRecipes\MoreCraftingRecipes.java:38: error: cannot find symbol

                GameRegistry.addShapelessRecipe(new ItemStack(Items.flint, 64), new ItemStack(Blocks.fire));

                                                                                    ^

  symbol:  class ItemStack

  location: class MoreCraftingRecipes

C:\Toms minecraft stuff\ModdingForge\build\sources\java\rastus22\moreCraftingRecipes\MoreCraftingRecipes.java:38: error: cannot find symbol

                GameRegistry.addShapelessRecipe(new ItemStack(Items.flint, 64), new ItemStack(Blocks.fire));

                                                                                              ^

  symbol:  variable Blocks

  location: class MoreCraftingRecipes

C:\Toms minecraft stuff\ModdingForge\build\sources\java\rastus22\moreCraftingRecipes\MoreCraftingRecipes.java:38: error: cannot find symbol

                GameRegistry.addShapelessRecipe(new ItemStack(Items.flint, 64), new ItemStack(Blocks.fire));

                ^

  symbol:  variable GameRegistry

  location: class MoreCraftingRecipes

C:\Toms minecraft stuff\ModdingForge\build\sources\java\rastus22\moreCraftingRecipes\client\ClientProxy.java:8: error: method does not override or implement a method from a supertype

        @Override

        ^

8 errors

1 warning

FAILED

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':compileJava'.

> Compilation 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: 14.73 secs

 

 

 

 

Also in other forums people ask for the gradlew build -v

so here it is

 

The assetDir is deprecated!  Use runDir instead! runDir set to eclipse/assets/..The assetDir is deprecated!  Use runDir instead! runDir set to eclipse/assets/..

 

****************************

Powered By MCP:           

http://mcp.ocean-labs.de/ 

Searge, ProfMobius, Fesh0r,

R4wk, ZeuX, IngisKahn     

MCP Data version : unknown

****************************

:help

 

Welcome to Gradle 1.12.

 

To run a build, run gradlew <task> ...

 

To see a list of available tasks, run gradlew tasks

 

To see a list of command-line options, run gradlew --help

 

BUILD SUCCESSFUL

 

Total time: 11.279 secs

 

Please help,

Rastus2203

 

P.S.

I have set my JAVA_HOME to the JDK folder

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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