Dashstrom / tp-antlr

Basic project for UV AI21 of UTC using Maven, AntLR and JavaFX (with Visual Studio Code).
11 stars 3 forks source link

JAVA_HOME not found #5

Open melmra opened 4 weeks ago

melmra commented 4 weeks ago

Please set the JAVA_HOME variable in your environment to match the location of your Java installation.

Dashstrom commented 4 weeks ago

try powershell Start-Process powershell -Verb runAs -ArgumentList '[Environment]::SetEnvironmentVariable("JAVA_HOME", $(Split-Path (Split-Path (Get-Command java.exe).Path -Parent) -Parent), "Machine")'