我在安裝mysql數據庫的同時在我的ubuntu電腦上設置java路徑時遇到問題。該程序顯示以下內容,我甲肝不知道設置了Java路徑如何在Ubuntu中給java路徑
Error: /usr/lib/jvm/java-1.7.0-openjdk-amd64/bin/java not found or not a valid JDK
Type the full pathname of a JDK installation (or Ctrl-C to quit), the path will be stored in /home/devkrishna/.sqldeveloper/4.1.0/product.conf
/usr/lib/jvm/java-1.8.0-openjdk-amd64
Error: Java home /usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java is not a JDK.
Running SQL Developer under a JRE is not supported.If this Java VM is actually a full JDK installation, add
'SetSkipJ2SDKCheck true' to one of the following files.
Otherwise specify a different Java JDK location with a
SetJavaHome directive in one of the following files:
/home/devkrishna/.sqldeveloper/4.1.0/product.conf
/opt/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
我已經安裝了Java,但主要的問題是建立一個java的路徑,並同時安裝mysql數據庫 –
路徑的似乎已經是正確的位置,如果它通常安裝。你是否試圖讓它使用替代版本? – WillShackleford
我以前曾經使用過使用過的java 1.7.0,但現在我使用的是java1.8.0,並且在從1.7.0到1.8.0的轉換過程中遇到問題。 –