![]() ![]()
We will tell this script to execute the sqldeveloper binary directly without navigating to other directory by using this command /opt/sqldeveloper/sqldeveloper/bin/sqldeveloper $*, your file should look like this now.Your file content should look like this now. Remember to use sudo because this file belongs to root. Open sqldeveloper.sh with your text editor. ![]() To fix this problem, what we need to do is edit the sqldeveloper.sh to execute the sqldeveloper binary The error happened because it's trying to execute a syntax inside sqldeveloper.sh that uses relative path to navigate the directory.Go to your $HOME directory and execute the command sqldeveloper.The reason why we put our link inside /usr/local/bin is so that it's available globally. Now we can execute our application with command sqldeveloper from any directory.Open your terminal and type command sudo ln -s /usr/local/bin/sqldeveloper, in my case it's sudo ln -s /opt/sqldeveloper/sqldeveloper.sh /usr/local/bin/sqldeveloper.But it's quite troublesome for us to always open the terminal and execute the script to run the application. Installation done! You can use the application by executing the sqldeveloper.shĪt this point, the installation process is done and we can use the application.You will see Oracle SQL Developer starting.Run the sqldeveloper.sh file, you will be prompted to enter the Oracle JDK location, just paste it in and press enter.sqldeveloper.sh or sh sqldeveloper.sh in the current directory. You can see that sqldeveloper.sh has executable permission so that we can run it by doing.Locate your Oracle JDK installation under /usr/lib/jvm, we'll need this location to tell Oracle SQL Developer where our Oracle JDK is located. #Oracle sql developer mysql zip fileBy default the unzip program will extract the zip file into the current directory, since we are in /opt now, we don't need to specify target directory. zip, in my case it's sudo unzip ~/Downloads/sqldeveloper-20.2.0.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |