On 10/22/2015 10:49 PM, awhosit wrote: Not working one is solr 5.2.1/SLES 12. > But I have working one with solr 5.2.1/SLES 11 and solr 5.2.1/Ubuntu 14. > > From the log left in sol-8983-console.log is as follow. > I'm using OpenJDK 1.7 as follow. > > java version "1.7.0_85" > OpenJDK Runtime Environment (IcedTea 2.6.1) (suse-18.2-x86_64) > OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode) > > > Exception in thread "main" java.lang.UnsupportedClassVersionError: > org/eclipse/jetty/start/Main : Unsupported major.minor version 51.0
This error message means you're trying to start Solr with Java 6, not Java 7. You might have OpenJDK 7 on your computer, but you also have an older version, and the older version is the one that is being used. I understand that suse uses RPM, so run this command to see if Java 6 is installed with a package: rpm -qa | egrep "(java|jdk)" If it is, then you should be able to uninstall it and let version 7 have center stage. On a CentOS 6 system, I get this output by running that command. I've got Java 8 installed on this system: [root@mcp ~]# rpm -qa | egrep "(java|jdk)" java-1.8.0-openjdk-1.8.0.51-3.b16.el6_7.x86_64 tzdata-java-2015f-1.el6.noarch java_cup-0.10k-5.el6.x86_64 java-1.5.0-gcj-devel-1.5.0.0-29.1.el6.x86_64 java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64 java-1.8.0-openjdk-devel-1.8.0.51-3.b16.el6_7.x86_64 gcc-java-4.4.7-16.el6.x86_64 java-1.8.0-openjdk-headless-1.8.0.51-3.b16.el6_7.x86_64 [root@mcp ~]# java -version openjdk version "1.8.0_51" OpenJDK Runtime Environment (build 1.8.0_51-b16) OpenJDK 64-Bit Server VM (build 25.51-b03, mixed mode) Thanks, Shawn