Exceptions when installing Crowd
Asked by Christian Schnetter:

Ubuntu 14.10, all updates.  
Jira \& Confluence installed without problems.

I get the following Errors:

```
./start_crowd.sh -fg
Using CATALINA_BASE: /opt/atlassian/crowd/apache-tomcat
Using CATALINA_HOME: /opt/atlassian/crowd/apache-tomcat
Using CATALINA_TMPDIR: /opt/atlassian/crowd/apache-tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/atlassian/crowd/apache-tomcat/bin/bootstrap.jar:/opt/atlassian/crowd/apache-tomcat/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/atlassian/crowd/apache-tomcat/work/catalina.pid
Sep 12, 2017 6:40:15 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
Sep 12, 2017 6:40:16 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8095"]
Sep 12, 2017 6:40:16 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1184 ms
Sep 12, 2017 6:40:16 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Sep 12, 2017 6:40:16 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.69
Sep 12, 2017 6:40:16 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /opt/atlassian/crowd/apache-tomcat/conf/Catalina/localhost/demo.xml
Sep 12, 2017 6:40:19 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2017-09-12 18:40:19,997 localhost-startStop-1 ERROR [springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.atlassian.crowd.service.client.ClientResourceLocator] for bean with name 'resourceLocator' defined in class path resource [applicationContext-CrowdRestClient.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: com/atlassian/crowd/service/client/ClientResourceLocator : Unsupported major.minor version 52.0 (unable to load class com.atlassian.crowd.service.client.ClientResourceLocator)
[...]
Caused by: java.lang.UnsupportedClassVersionError: com/atlassian/crowd/service/client/ClientResourceLocator : Unsupported major.minor version 52.0 (unable to load class com.atlassian.crowd.service.client.ClientResourceLocator)
Sep 12, 2017 6:40:20 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
Sep 12, 2017 6:40:21 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [666] milliseconds.
Sep 12, 2017 6:40:21 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/demo] startup failed due to previous errors
Sep 12, 2017 6:40:21 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deployment of configuration descriptor /opt/atlassian/crowd/apache-tomcat/conf/Catalina/localhost/demo.xml has finished in 4,931 ms
Sep 12, 2017 6:40:21 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /opt/atlassian/crowd/apache-tomcat/conf/Catalina/localhost/openidclient.xml
Sep 12, 2017 6:40:22 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2017-09-12 18:40:23,422 localhost-startStop-1 ERROR [springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory] for bean with name 'consumerManager' defined in class path resource [applicationContext-OpenIDClient.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: com/atlassian/crowd/openid/client/util/ProxiableConsumerManagerFactory : Unsupported major.minor version 52.0 (unable to load class com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory)
[...]
Caused by: java.lang.UnsupportedClassVersionError: com/atlassian/crowd/openid/client/util/ProxiableConsumerManagerFactory : Unsupported major.minor version 52.0 (unable to load class com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory)
[...]
Sep 12, 2017 6:40:23 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
Sep 12, 2017 6:40:23 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/openidclient] startup failed due to previous errors
Sep 12, 2017 6:40:23 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deployment of configuration descriptor /opt/atlassian/crowd/apache-tomcat/conf/Catalina/localhost/openidclient.xml has finished in 2,673 ms
Sep 12, 2017 6:40:23 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /opt/atlassian/crowd/apache-tomcat/conf/Catalina/localhost/crowd.xml
Sep 12, 2017 6:40:23 PM org.apache.catalina.core.ContainerBase addChildInternal
SEVERE: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/crowd]]
[...]
Caused by: java.lang.UnsupportedClassVersionError: com/atlassian/crowd/console/logging/CrowdHomeLogAppender : Unsupported major.minor version 52.0 (unable to load class com.atlassian.crowd.console.logging.CrowdHomeLogAppender)
[...]
Sep 12, 2017 6:40:23 PM org.apache.catalina.startup.HostConfig deployDescriptor
SEVERE: Error deploying configuration descriptor /opt/atlassian/crowd/apache-tomcat/conf/Catalina/localhost/crowd.xml
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/crowd]]
[...]
Sep 12, 2017 6:40:23 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deployment of configuration descriptor /opt/atlassian/crowd/apache-tomcat/conf/Catalina/localhost/crowd.xml has finished in 218 ms
Sep 12, 2017 6:40:23 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /opt/atlassian/crowd/apache-tomcat/conf/Catalina/localhost/openidserver.xml
Sep 12, 2017 6:40:26 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Sep 12, 2017 6:40:26 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
Sep 12, 2017 6:40:26 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/openidserver] startup failed due to previous errors
Sep 12, 2017 6:40:26 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deployment of configuration descriptor /opt/atlassian/crowd/apache-tomcat/conf/Catalina/localhost/openidserver.xml has finished in 2,627 ms
Sep 12, 2017 6:40:26 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/atlassian/crowd/apache-tomcat/webapps/ROOT
Sep 12, 2017 6:40:26 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Sep 12, 2017 6:40:26 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /opt/atlassian/crowd/apache-tomcat/webapps/ROOT has finished in 204 ms
Sep 12, 2017 6:40:26 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8095"]
Sep 12, 2017 6:40:26 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 10724 ms
```

What am I missing?  
I had no Problems with Atlassian Products so far ... except crowd.

Any help is hightly appreciated.


Answers:
author: Bruno Vincent
body: ```
Unsupported major.minor version 52.0
```

Looks like you're trying to execute Crowd with an old JDK (\<1.8). Please check your JAVA_HOME.