ballerina-distribution
ballerina-distribution copied to clipboard
U8 Windows installer Requires JAVA_HOME env varaible
trafficstars
Even though compatible JRE is packed with distribution, it is looking for the JAVA_HOME env variable. This causes a problem when the default Java version is below 17.
After installing JAVA17, the following is observed.
C:\>bal version
Ballerina 2201.8.0 (Swan Lake Update 8)
Language specification 2023R1
'java' is not recognized as an internal or external command,
operable program or batch file.
C:\>