Hi Sergio, thanks for your answer. Yes I am using JDK 7.0
$ sudo update-alternatives --config java There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ------------------------------------------------------------ 0 /usr/lib/jvm/java-7-oracle/jre/bin/java 1062 auto mode 1 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 manual mode * 2 /usr/lib/jvm/java-7-oracle/jre/bin/java 1062 manual mode The problem was that JAVA_HOME was not set and it was commented out in /etc/default/tomcat6 Tomcat was auto-selecting /usr/lib/jvm/java-6-openjdk-amd64. I have now uncommented JAVA_HOME in /etc/default/tomcat6 and everything is working fine. Thanks :) Andrea 2013/11/22 Sergio Fernández <sergio.fernan...@salzburgresearch.at> > Hi Andrea, > > > On 22/11/13 16:26, Andrea Di Menna wrote: > >> I just downloaded apache-marmotta-3.1.0-incubating-webapp.zip from the >> website and deployed it on a Tomcat 6.0 instance. >> >> I am getting the following error: >> >> SEVERE: Error deploying web application archive marmotta.war >> java.lang.UnsupportedClassVersionError: >> org/apache/marmotta/platform/core/jndi/MarmottaJndiListener : Unsupported >> major.minor version 51.0 (unable to load class >> org.apache.marmotta.platform.core.jndi.MarmottaJndiListener) >> > > are you sure Tomcat is executed with a JRE 7? > > Because that error means that the class MarmottaJndiListener was compiled > with the version 7 of the compiler (major.minor version 51.0), which is not > supported by your current runtime. > > So, please, check it. No sure what OS you are using, but in GNU/Linux you > can do it by executing: > > sudo update-alternatives --config java > > Hope this helps. > > Cheers, > > -- > Sergio Fernández > Senior Researcher > Knowledge and Media Technologies > Salzburg Research Forschungsgesellschaft mbH > Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria > T: +43 662 2288 318 | M: +43 660 2747 925 > sergio.fernan...@salzburgresearch.at > http://www.salzburgresearch.at >