{
  // See https://go.microsoft.com/fwlink/?LinkId=733558
  // for the documentation about the tasks.json format

  // This is for Java Programming 1 class at Fukuoka Institute of Technology
  // Copy this file into ".vscode" folder which is a subfolder of the workspace
  // Type "Cntr + Shift + B" to compile and run the code
  //
  // Version 3.0.7, 2023.04.02
  //
  // Dependences on System Environment Variables:
  // - JAVA_HOME is set on the JAVA SDK top folder such as C:\Program Files\Java\jdk-14.0.1
  // - PATH includes the bin folder of the JAVA SDK such as %JAVA_HOME%\bin

  "version": "2.0.0",
  "tasks": [
    {
      "label": "javac",
      "type": "shell",
      "options":{
        "shell":{
           "executable": "powershell.exe"
        }
      },
      "command": "javac",
      "args": [
        "-encoding",
        "utf-8",
        "-cp",
        "'.;${fileDirname}'",
        "${file}"
      ],
    },
    {
      "label": "java",
      "type": "shell",
      "options":{
        "shell":{
           "executable": "powershell.exe"
        }
      },
      "command": "java",
      "args": [
        "-cp",
        "'.;${fileDirname}'",
        "${fileBasenameNoExtension}"
      ],
      "group":{
        "kind": "build",
        "isDefault": true
      },
      "dependsOn": [
        "javac"
      ],
    }
  ]
}