Installing MyEclipse in the/usr/local/myeclipse directory is not a problem when it is started by the root user, and the following failure occurs with a normal User:
' /usr/local/myeclipse/configuration ' is not writable. ' -configuration ' command line option.
This means that /usr/local/myeclipse/configuration is not writable for ordinary users , and when it is possible to change/usr and all of its subdirectories into 777 permissions, it is not safe. In the back of this sentence, you can change the location of the configuration directory by configuring the config parameter. We want to have our own configuration directory when each user launches MyEclipse, so the following can be achieved with a simple script.
The script name is MyEclipse, you can configure the MyEclipse directly through the scripts, and then start MyEclipse.
#!/bin/Bashif["$USER"=="Root"]; ThenWorkpath=/root/MyEclipseElseWorkpath=/home/$USER/MyEclipsefiif[!-D"$workpath"]; Then mkdir-P $workpathfi/usr/local/myeclipse/myeclipse-configuration $workpath
Place this myeclipse script in the/usr/local/bin directory so that any user can invoke it, and each user has its own configuration directory.
Normal user startup MyEclipse error in Linux environment