JPad Error jpad-err-jdk-1

Could not find java compiler, you must be using a JDK

This error is occurs when you try to run JPad with a JRE or possibly an older version of the SDK. If you are on windows the easiest solution is to download the installer.

Solution

  1. If necessary download a java SDK (version 1.8+). Download from Oracle
  2. Configure JAVA_HOME to point to the SDK directory

    Set JAVA HOME on Windows:

    1. Right-click the My Computer icon on your desktop and select Properties.
    2. Click the Advanced tab, then click the Environment Variables button.
    3. Under System Variables, click New.
    4. Enter the variable name as JAVA_HOME.
    5. Enter the variable value as the installation path for the Java Development Kit.
    6. Click OK.
    7. Click Apply Changes.

    Set JAVA_HOME on Linux:
    export JAVA_HOME=jdk-install-dir
    export PATH=$JAVA_HOME/bin:$PATH

  3. Add JAVA_HOME to your PATH
  4. Check "java -version"
  5. Run JPad again