Error Message : Compiler Not Found

⚠️ Error: Compiler Not Found di HGrid247

📌 Causes

This error occurs because:
➡️ The JVM running HGrid247 uses the JRE (Java Runtime Environment)
➡️ The JRE does not have a Java compiler (javac)

Meanwhile, the workflow compilation process in HGrid247 requires a compiler .

🎯 Ultimate Solution

Use JDK (Java Development Kit) , not JRE.

🖥️ How to Fix it on Windows

Steps:

🐧 How to Fix it on Linux

Steps:

🔧 Best Practice (Recommended)

1. Set Environment Variable

Windows:
    JAVA_HOME = C:\Program Files\Java\jdk1.8.0_80
Add to PATH:
    %JAVA_HOME%\bin
Linux:
Add to .bashrc:
    export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
    export PATH=$PATH:$JAVA_HOME/bin

2. Check Installation

    java -version
    javac -version
✔️ If javac→ appears, it means you are using JDK

🧠 Important Insights

    Component       Function
    ---------------------------------
    JRE             Running Java programs
    JDK             Run + Compile Java
👉 HGrid247 requires JDK because it generates & compiles workflows