我在安装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的转换过程中遇到问题。 –