I am trying to deal with an issue with Stata on Linux where the standard Stata Corp advice has caused a major problem. I am trying to update Stata18 to the latest version. The update procedure failed because it is unable to rewrite the Java directories. The error message is: "Could not move jar file to .old/". Clearly a problem with permissions.
The FAQ advice offered by Stata Corp is to delete the .old and Java directories in the utilities folder, and then force a reinstallation of Java. I have followed that advice but I am still getting the original message and I find that the update process has recreated the .old subdirectory. Hence, this is a Catch-22 situation but now I have no Java installed.
My guess is that the update procedure creates the .old folder with the wrong permissions before it tries to move the Java directory even though the Java directory doesn't exist. Can anyone suggest the sudo chmod ... command that would be needed to ensure that the reinstallation of Java works?
The FAQ advice offered by Stata Corp is to delete the .old and Java directories in the utilities folder, and then force a reinstallation of Java. I have followed that advice but I am still getting the original message and I find that the update process has recreated the .old subdirectory. Hence, this is a Catch-22 situation but now I have no Java installed.
My guess is that the update procedure creates the .old folder with the wrong permissions before it tries to move the Java directory even though the Java directory doesn't exist. Can anyone suggest the sudo chmod ... command that would be needed to ensure that the reinstallation of Java works?
Comment