The full pathname of a JDK installation for Oracle SQL Developer

后端 未结 10 1625
你的背包
你的背包 2021-02-02 11:00

I want to run Oracle SQL Devloper on Ubuntu with this command:

sh sqldeveloper/sqldeveloper.sh

Then I got this message:

相关标签:
10条回答
  • 2021-02-02 11:33

    I had a similar issue and solved it by simply adding 'SetSkipJ2SDKCheck true' to one of the below files.

    /home/abc/.sqldeveloper/4.1.5/product.conf
    /opt/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
    
    0 讨论(0)
  • 2021-02-02 11:37

    Just insert below one into ~/.sqldeveloper/4.0.0/product.conf file.

    SetJavaHome /usr/lib/jvm/java-7-openjdk-amd64/
    
    0 讨论(0)
  • 2021-02-02 11:38

    Just solved this by not adding slash as you did, so instead of

    /usr/lib/jvm/java-7-openjdk-i386/

    type

    /usr/lib/jvm/java-7-openjdk-i386

    0 讨论(0)
  • 2021-02-02 11:46

    Just type /usr/java/default and hit Enter if you use Oracle's JDK.

    0 讨论(0)
  • 2021-02-02 11:47
     apt-get install openjdk-6-jre
     apt-get install openjdk-7-jre
     apt-get install openjdk-6-jdk
     apt-get install openjdk-7-jdk
     add-apt-repository ppa:webupd8team/java
     apt-get update
     apt-get install oracle-java7-installer 
    
    0 讨论(0)
  • 2021-02-02 11:49

    I Agree with szabozoltan's answer but there should be some explanation required for this:

    SetJavaHome /usr/lib/jvm/java-7-openjdk-amd64/
    

    This one we need to keep in product.conf file. Inorder to open that file we need to type following command:

    sudo gedit /home/abc/.sqldeveloper/4.0.0/product.conf
    

    After this, type the following command.

    ./sqldeveloper.sh
    

    That's it, your SQL Developer will be opened.

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