You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my Ubuntu (22.04) Server I updated Ballerina from 2021.8.2 to version 2021.10.0 via bal dist update.
After the update, any bal command gives the following error:
bal build
/home/ubuntu/ballerina/bin/bal: line 84: /home/ubuntu/ballerina/bin/../dependencies/jdk-17.0.7+7-jre/bin/java: cannot execute binary file: Exec format error
/home/ubuntu/ballerina/bin/../distributions/ballerina-2201.10.0/bin/./bal: line 294: /home/ubuntu/ballerina/bin/../distributions/ballerina-2201.10.0/../../dependencies/jdk-17.0.7+7-jre/bin/java: cannot execute binary file: Exec format error
Steps to Reproduce
Update to version 2021.10.0 in Ubuntu and run bal build in a project folder.
Affected Version(s)
2021.10.0
OS, DB, other environment details and versions
Ubuntu 22.04
Ballerina 2021.10.0
Related area
-> Update Tool
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered:
Shadow-Devil
changed the title
[Bug]: bal tool does not work anymore after 2022.10.0 update
[Bug]: bal cli commands not working anymore after 2022.10.0 update
Aug 25, 2024
I fixed it for myself via renaming the ballerina/dependencies/jdk-17.0.7+7-jre folder.
It is now probably using the jdk installed at JAVA_HOME instead of the bundled one.
Description
On my Ubuntu (22.04) Server I updated Ballerina from 2021.8.2 to version 2021.10.0 via
bal dist update
.After the update, any bal command gives the following error:
Steps to Reproduce
Update to version 2021.10.0 in Ubuntu and run
bal build
in a project folder.Affected Version(s)
2021.10.0
OS, DB, other environment details and versions
Ubuntu 22.04
Ballerina 2021.10.0
Related area
-> Update Tool
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: