Oracle SQL Developer Problem initializing Welcome Page

后端 未结 8 1992
误落风尘
误落风尘 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: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.

提交回复
热议问题