Try SQL developer on Ubuntu

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.