In Windows, the ui program of the Oracle client contains toad and pl/sqldeveloper. When it reaches UbuntuLinux, it suddenly finds that all of them are gone. Fortunately, oracle officially has sqldeveloper, which supports multiple system platforms at the same time and supports mysql, mssql, and sybase data migration. Since it is so good, it is still official and there is no reason to use it. Download back to run. sh, but found that you always need to enter the jdk path, very uncomfortable, so quickly read the bashsh
In Windows, the ui programs of the Oracle client include toad and pl/SQL developer. in Ubuntu Linux, all of them are lost. Fortunately, oracle officially has SQL developer, which supports multiple system platforms at the same time and supports mysql, mssql, and sybase data migration. Since it is so good, it is still official and there is no reason to use it.
Download and run. sh, but found that the jdk path always needs to be entered, so I quickly checked the prompt when the jdk path is to be entered during bash shell execution, finally, the ide/bin/launcher in the installation directory. sh:
CheckJDK ()
{
# If ide home is not defined then try to define it using
# The first found java command on the path
If ["X $ APP_JAVA_HOME" = "X"]
Then
Getdefajdk JDK # Check the JAVA_HOME environment variable. I set it normally but cannot get it.
Fi
# If java wasn't found on the path then ask the user for it
If CheckJavaHome # The defalut jdk is not found above, so
Then
Local DOT_JDK_FILE_NAME = 'getdotjdkfilename'
APP_JAVA_HOME = "" # Just change it to the jdk directory.
If [-f "$ HOME/$ DOT_JDK_FILE_NAME"]
Then
APP_JAVA_HOME = 'cat <"$ HOME/$ DOT_JDK_FILE_NAME "'
Fi
If ["X $ APP_JAVA_HOME "! = "X"]
Then
If [! -D $ {APP_JAVA_HOME}]
Then
APP_JAVA_HOME = ""
Fi
Fi
While ["X $ APP_JAVA_HOME" = "X"]
Do
Echo "Type the full pathname of a J2SE installation (or Ctrl-C to quit), the path will be stored in ~ /$ DOT_JDK_FILE_NAME"
Read APP_JAVA_HOME
If [-f "$ {APP_JAVA_HOME}/bin/java"]
Then
Okay, you can normally enter the ui. The first feeling is refreshing.