Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Sep 2016 10:47:18 +0200
From:      Matthias Fechner <idefix@fechner.net>
To:        Kurt Jaeger <lists@opsec.eu>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: apache-solr PR: 201455 (I think 212104 blocks usage of apache-solr)
Message-ID:  <f5f17d5c-dfe7-46de-63fc-99df2adb2a51@fechner.net>
In-Reply-To: <20160911084208.GG85563@home.opsec.eu>
References:  <403d02ce-a9be-acc6-2d3e-ca24fb267399@fechner.net> <6af81830-d841-b1fa-e5b2-53ea06403153@fechner.net> <20160901132915.GJ96200@home.opsec.eu> <91a30d2b-ff04-c2a9-280b-ebb51320424b@fechner.net> <404a0b7b-41ea-5843-bb7a-f8c8f85dcb6a@fechner.net> <20160901181128.GK96200@home.opsec.eu> <9a0d27c1-2f43-5a3e-8054-87495b73b12e@fechner.net> <900b9828-7a54-8f85-e4c3-0000d2565b2a@fechner.net> <20160911074115.GD93158@home.opsec.eu> <8d90b1f0-2e15-2ffd-bc6c-645e355c7b28@fechner.net> <20160911084208.GG85563@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 11.09.2016 um 10:42 schrieb Kurt Jaeger:
> It still fails, with the same error as before, recorded in
> /var/log/solr/solr-8983-console.log:
>
> Exception in thread "main" java.lang.UnsupportedClassVersionError: org/eclipse/jetty/start/Main : 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:449)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>         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've tested it on CURRENT, r305402M.

Do you use a java 8 version, what does java -version shows?

Maybe you have to switch you java to version 8:

registervm  /usr/local/openjdk8/bin/java


Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f5f17d5c-dfe7-46de-63fc-99df2adb2a51>