[infinispan-dev] FAO Infinispan Developers: Must set JAVA_HOME_7 environment variable

Manik Surtani msurtani at redhat.com
Wed Jun 19 07:39:51 EDT 2013


Agreed.  https://issues.jboss.org/browse/ISPN-3242

On 19 Jun 2013, at 10:41, Tristan Tarrant <ttarrant at redhat.com> wrote:

> I think we should.
> Netty uses the maven-enforcer-plugin to force compilation with a JDK 
> 1.7, animal-sniffer-maven-plugin to ensure that only classes available 
> in previous versions are used.
> 
> Tristan
> 
> On 06/19/2013 11:34 AM, Galder Zamarreño wrote:
>> I'd say yes... unless we force all developers to build with JDK7 making sure we produce java 6 compiled classes...
>> 
>> On Jun 19, 2013, at 10:21 AM, Dan Berindei <dan.berindei at gmail.com> wrote:
>> 
>>> If I run the whole test suite with OpenJDK 1.7, do I still need to set the JAVA_HOME_7 variable?
>>> 
>>> 
>>> On Wed, Jun 19, 2013 at 11:47 AM, Galder Zamarreño <galder at redhat.com> wrote:
>>> Hi all,
>>> 
>>> Starting with Infinispan 5.3.0.CR2, anyone who builds Infinispan requires an environment variable called JAVA_HOME_7 to be set and point to a JDK7 installation. This is required in order to run the JCache TCK, which requires Java 7, and runs automatically as part of the Infinsipan build (when testing...).
>>> 
>>> @Mircea, the TCK is not running on CI cos the environment variable is not set, see [1] log snippet taken from [2]. Can you sort out this in the CI machine?
>>> 
>>> The TCK run build failure was ignored cos test failures are ignored, and this property is only used when running the TCK per se.
>>> 
>>> Cheers,
>>> 
>>> [1] https://gist.github.com/galderz/39851953ca4d6b4af899
>>> [2] http://ci.infinispan.org/viewLog.html?buildId=2072&buildTypeId=bt2&tab=buildLog#_
>>> --
>>> Galder Zamarreño
>>> galder at redhat.com
>>> twitter.com/galderz
>>> 
>>> Project Lead, Escalante
>>> http://escalante.io
>>> 
>>> Engineer, Infinispan
>>> http://infinispan.org
>>> 
>>> 
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> infinispan-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>> 
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> infinispan-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>> 
>> --
>> Galder Zamarreño
>> galder at redhat.com
>> twitter.com/galderz
>> 
>> Project Lead, Escalante
>> http://escalante.io
>> 
>> Engineer, Infinispan
>> http://infinispan.org
>> 
>> 
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>> 
>> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik at jboss.org
twitter.com/maniksurtani

Platform Architect, JBoss Data Grid
http://red.ht/data-grid




More information about the infinispan-dev mailing list