Hi Martin, We compiled Triaxrs with jdk 1.6 for java 1.6, I never tried nor checked the requirement of dependencies but I can't think of a reason why it shouldn't compile with java 5.
Cheers, reto Martin Thelian said the following on 2008-10-16 21:19: > Hi, > > is java 1.6 required to use the API? In the OSGi Log I found messages > like the following: > >> Error [56] FrameworkEvent ERROR >> http://repo.trialox.org/distro/org/trialox/org.trialox.jaxrs/0.3/org.trialox.jaxrs-0.3.jar >> >> org.osgi.framework.BundleException: Exception in >> org.eclipse.equinox.internal.ds.ServiceReg.getService() >> at >> org.eclipse.osgi.framework.internal.core.ServiceUse.getService(ServiceUse.java:127) >> >> [...] >> Caused by: org.osgi.service.component.ComponentException: Exception >> occurred while creating new instance of component Component[ >> name = org.trialox.jaxrs.JaxRsHandler >> autoenable = true >> factory = null >> immediate = false >> implementation = org.trialox.jaxrs.JaxRsHandler >> properties = {service.pid=org.trialox.jaxrs.JaxRsHandler} >> serviceFactory = false >> serviceInterface = [org.wymiwyg.wrhapi.Handler] >> references = { >> Reference[name = component, interface = >> java.lang.Object, policy = dynamic, cardinality = 0..n, target = >> (javax.ws.rs=true), bind = bindComponent, unbind = unbindComponent] >> Reference[name = applicationConfig, interface = >> javax.ws.rs.core.Application, policy = static, cardinality = 0..1, >> target = null, bind = bindApplicationConfig, unbind = >> unbindApplicationConfig] >> } >> located in bundle = >> http://repo.trialox.org/distro/org/trialox/org.trialox.jaxrs/0.3/org.trialox.jaxrs-0.3.jar >> [56] >> ] >> [...] >> ... 54 more >> Caused by: java.lang.UnsupportedClassVersionError: Bad version number >> in .class file > It seems not to be possible to run trialox with Java version 1.5. With > version 1.6 the tutorial seems to work. > > Regards, > Martin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

