Problème sur ':recompileMc'



  • Bonjour,
    Je me suis mis récemment au modding sur Minecraft,
    Pour m'aider, j'ai suivi ce tutoriel : https://mcforge.readthedocs.io/en/latest/gettingstarted/

    Mon problème apparaît quand j'utilise la commande : "gradlew setupDecompWorkspace"
    mon fichier de commande m’affiche ceci :

    #################################################
             ForgeGradle 2.2-SNAPSHOT-9cee4a8
      https://github.com/MinecraftForge/ForgeGradle
    #################################################
                   Powered by MCP unknown
                 http://modcoderpack.com
             by: Searge, ProfMobius, Fesh0r,
             R4wk, ZeuX, IngisKahn, bspkrs
    #################################################
    :deobfCompileDummyTask
    :deobfProvidedDummyTask
    :getVersionJson
    :extractUserdev UP-TO-DATE
    :extractDependencyATs SKIPPED
    :extractMcpData SKIPPED
    :extractMcpMappings SKIPPED
    :genSrgs SKIPPED
    :downloadClient SKIPPED
    :downloadServer SKIPPED
    :splitServerJar SKIPPED
    :mergeJars SKIPPED
    :deobfMcSRG SKIPPED
    :decompileMc SKIPPED
    :fixMcSources SKIPPED
    :applySourcePatches
    :remapMcSources SKIPPED
    :recompileMc FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':recompileMc'.
    > Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK.
    It is currently set to "C:\Program Files\Java\jre1.8.0_191"
    
    * 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: 1 mins 14.294 secs
    

    Je vous remercie d'avance de votre aide ^^


  • Administrateurs