ballerina-distribution icon indicating copy to clipboard operation
ballerina-distribution copied to clipboard

U8 Windows installer Requires JAVA_HOME env varaible

Open hasithaa opened this issue 2 years ago • 1 comments
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. 2023-09-04

hasithaa avatar Sep 04 '23 08:09 hasithaa

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:\>

hasithaa avatar Sep 04 '23 08:09 hasithaa