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
bal dist pull <VERSION> command fails in Windows when pulling a new JRE version along with distribution. This happens when we run the command in the Command Prompt with administrator permissions.
$ bal dist pull 2201.9.0
Checking for newer versions of the update tool...
Fetching the '2201.9.0' distribution from the remote server...
Downloading 2201.9.0 100% [==========================================================] 191/191 MB (0:00:21 / 0:00:00)
Fetching the dependencies for '2201.9.0' from the remote server...
Downloading jdk-17.0.7+7-jre 100% [====================================================] 42/42 MB (0:00:03 / 0:00:00)
ballerina: permission denied: you do not have write access to 'C:\Program Files\Ballerina\dependencies\jdk-17.0.7+7-jre'
Steps to Reproduce
Run the bal dist pull <VERSION> command in Command Prompt which will pull a version of Ballerina that uses different Java version than the current version.
Version
Update tool version: all
Environment Details (with versions)
Affective OS : Windows
The text was updated successfully, but these errors were encountered:
This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.
- Reason/EngineeringMistake - The issue occurred due to a mistake made in the past. - Reason/Regression - The issue has introduced a regression. - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components. - Reason/Complex - Issue occurred due to complex scenario. - Reason/Invalid - Issue is invalid. - Reason/Other - None of the above cases.
Description
bal dist pull <VERSION>
command fails in Windows when pulling a new JRE version along with distribution. This happens when we run the command in theCommand Prompt
with administrator permissions.Steps to Reproduce
Run the
bal dist pull <VERSION>
command in Command Prompt which will pull a version of Ballerina that uses different Java version than the current version.Version
Update tool version: all
Environment Details (with versions)
Affective OS : Windows
The text was updated successfully, but these errors were encountered: