Skip to main content
  1. Install Java using Chocolatey®:
  2. JAVA_HOME (Run in PowerShell as Administrator):
  3. Add Java to PATH (Run in PowerShell as Administrator):
  4. Verify installation (open a new PowerShell window):

Troubleshooting

If Java command is not recognized after installation:
  1. Open System Properties (Win + R, type sysdm.cpl)
  2. Click “Environment Variables”
  3. Verify JAVA_HOME exists and points to correct directory
  4. Verify Path includes %JAVA_HOME%\bin
  5. Open new command prompt to test

Additional Configuration Tips

  • Create a .gitconfig file in your home directory:
  • Add basic Git configuration: