Java 1.6 compatibility

Hi,

Can we use the DMN Engine with a Java 1.6 project?

Thanks,
Samar

@Samarjit_Uppal yes you can use. Before that make sure are you using compatible versions. You can check these version compatibility between Java<>spring boot starters<>camunda bpm

By default, Spring Boot 1.4.1.RELEASE requires Java 7 and Spring Framework 4.3.3.RELEASE or above. You can use Spring Boot with Java 6 with some additional configuration

https://docs.spring.io/spring-boot/docs/1.4.1.RELEASE/reference/html/getting-started-system-requirements.html

https://docs.spring.io/spring-boot/docs/1.4.1.RELEASE/reference/html/howto-build.html#howto-use-java-6

Thanks Aravind, but we are not using Spring. Here is my pom file, its using dmn version 7.10.0 Do i need to switch this to a lower version for java 1.6 compatibility? :

<?xml version="1.0" encoding="UTF-8"?>


4.0.0

<groupId>groupId</groupId>
<artifactId>DMN_Test</artifactId>
<version>1.0-SNAPSHOT</version>
<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
                <source>1.6</source>
                <target>1.6</target>
            </configuration>
        </plugin>
    </plugins>
</build>

<dependencies>
    <dependency>
        <groupId>org.camunda.bpm.dmn</groupId>
        <artifactId>camunda-engine-dmn</artifactId>
        <version>7.10.0</version>
    </dependency>
</dependencies>

Found the fix. Upto 7.9.0 is compatible with java 1.6

camunda-engine-dmn 7.10.x requires Java7+

Camunda 7.10 supports Java 7+
https://docs.camunda.org/manual/7.10/introduction/supported-environments/#java