- Microsoft Windows
- MacOS
- Linux
-
Install Java using Chocolatey®:
-
JAVA_HOME (Run in PowerShell as Administrator):
-
Add Java to PATH (Run in PowerShell as Administrator):
-
Verify installation (open a new PowerShell window):
Troubleshooting
- Windows
- macOS
- Linux
If Java command is not recognized after installation:
- Open System Properties (Win + R, type
sysdm.cpl) - Click “Environment Variables”
- Verify JAVA_HOME exists and points to correct directory
- Verify Path includes
%JAVA_HOME%\bin - Open new command prompt to test
Additional Configuration Tips
- Windows
- macOS
- Linux
-
Create a
.gitconfigfile in your home directory: -
Add basic Git configuration: