Oracle SQL Developer Problem initializing Welcome Page

后端 未结 8 1987
误落风尘
误落风尘 2021-02-13 05:14

I installed the Oracle Sql developer but I am not getting the startup page. A JavaFx error is encountered.

How can I solve this problem?

相关标签:
8条回答
  • 2021-02-13 05:52

    I know this is a Linux thread, but I had the same issue on windows.

    bmaupin pointed to the right correction.

    My setup is that I use OpenJDK and have that set as JAVA_PATH. But if you download the correct version of Oracle SQL Developer, it brings its own Java SDK. All that needs to be done, is point to it.

    1. Search for: C:\Users\Name\AppData\Roaming\sqldeveloper\19.4.0\product.conf
    2. Edit that file: Change the path to the JDK coming with SQL Developer:

    _

    # SetJavaHome C:\Program Files\OpenJDK8
    SetJavaHome C:\Program Files\sqldeveloper\jdk
    

    Done.

    0 讨论(0)
  • 2021-02-13 05:54

    Well, i had to install Oracle's Java 8 SDK manually. And SQLDeveloper executes without errors

    Since i have Ubuntu installed, i went to Oracle SQL Developer download page and downloaded Other Platforms. Notice right under it has a link to the lastest Oracle 8 JDK (211) next to Installation Notes.

    You can follow here, but this is for a full install of Oracle's Java 8 JDK and i want only SQL Developer pointing to it. In sudo update-alternatives --config java i still have openjdk installed with no problems.

    So in /usr/lib/jvm:

    sudo tar -xvzf ~/Downloads/jdk-8u211-linux-x64.tar.gz
    

    Inform Ubuntu of installed location:

    sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.8.0_211/bin/java" 0
    sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.8.0_211/bin/javac" 0
    

    Check with sudo update-alternatives --config java

    In local folder or user directory that executed sqldeveloper.sh:

    nano/vi/vim/emacs /home/user/.sqldeveloper/19.1.0/product.conf
    

    update the line SetJavaHome /usr/lib/jvm/someOpenJDKInstallation to SetJavaHome /usr/lib/jvm/jdk1.8.0_211/

    Or if running for a first time, answer this directory /usr/lib/jvm/jdk1.8.0_211/ when it asks for a JDK.

    0 讨论(0)
提交回复
热议问题