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
This probably doesn't happen very often. If I understand correctly, it'll only be when the version of the java distribution changes, e.g. I changed from 11.0.6 to 11.0.7.
Then it recognized it needed to get the new java version, and it tried to unpack it, but there was already an existing directory for my platform unpacked under jre/. It failed because some of those files are set read-only, so the unpacker can't overwrite them by default.
It's probably a bad idea to unpack one java distribution on top of a previous one anyway. Increased chances for ending up with the wrong version of something, and if a newer version removed or renamed something, the old one will still be left hanging around in that directory.
The text was updated successfully, but these errors were encountered:
We could try to be very thorough in fixing this, but if it happens so rarely, I think it's fine to require some manual intervention. Mostly I want a better error message, something like:
jre/${DIRECTORY} already exists, run the cleanJre task to remove it first
This probably doesn't happen very often. If I understand correctly, it'll only be when the version of the java distribution changes, e.g. I changed from 11.0.6 to 11.0.7.
Then it recognized it needed to get the new java version, and it tried to unpack it, but there was already an existing directory for my platform unpacked under
jre/
. It failed because some of those files are set read-only, so the unpacker can't overwrite them by default.It's probably a bad idea to unpack one java distribution on top of a previous one anyway. Increased chances for ending up with the wrong version of something, and if a newer version removed or renamed something, the old one will still be left hanging around in that directory.
The text was updated successfully, but these errors were encountered: