You are not logged in.
Hello,
I successfully install sql developer from the AUR.
When I try to launch it I get asked to type the "Full Path Name to the JDK installation"
I enter /usr/lib/jvm/java-7-openjdk/
And I get error:
Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ide/osgi/boot/OracleIdeLauncher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
I ran archlinux-java status and it say: Java-7-OpenJDK (default).
I also have tired to give the path /usr/lib/jvm/java-7-openjd/jre but then I get the message:
Oracle SQL Developer
Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
Type the full pathname of a JDK installation (or Ctrl-C to quit), the path will be stored in /home/micke/.sqldeveloper/4.2.0/product.conf
Error: Java home /usr/lib/jvm/java-7-openjdk/jre/ is not a JDK,
either jre/bin/java OR lib/tools.jar OR lib/dt.jar is missing.
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/micke/.sqldeveloper/4.2.0/product.conf
/opt/oracle-sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
Any help would be very appreciated.
Last edited by Sofflock (2017-06-25 11:08:49)
Offline
The error says "Unsupported major.minor version 52.0". If you check out the upstream URL for the AUR package, it says JDK 8 or above required.
Offline
The error says "Unsupported major.minor version 52.0". If you check out the upstream URL for the AUR package, it says JDK 8 or above required.
I feel like an idiot.
Thanks for fast anwser!
Offline