FYI, 1.0 (incubating) was Calcite’s last release that supported 1.6. It was a 
long time ago (January 2015) [1] but 1.6 had reached end-of-life way before 
then (February 2013). 

Avatica is now separate from Calcite, so you could attempt a back port of 
Avatica, removing JDK 1.7-specific features. This  would be much less effort 
than back-porting all of Calcite.

Julian

[1] http://calcite.apache.org/docs/history.html#v1-0-0 
<http://calcite.apache.org/docs/history.html#v1-0-0>

[2] http://www.oracle.com/technetwork/java/javase/eol-135779.html 
<http://www.oracle.com/technetwork/java/javase/eol-135779.html>


> On Jul 30, 2016, at 8:15 AM, Sandeep Khurana <sand...@infoworks.io> wrote:
> 
> Luke
> 
> This is for an existing installation of the cube client and they can't move 
> to 7 for time being.
> 
> I was able to compile kylin-jdbc with Java 6 successfully with few changes. 
> But it depends upon calcite which was also developed in Java 7.
> 
> Changing calcite to 6 seems lots of work as at many places they have used 
> Java 7 classes/interfaces like AutoCloseable, Objects, classes from new 
> package java.lang.Invoke , catch with many exceptions etc etc. If there is 
> calcite version with Java 6 then I can club that with Kylin Jbdc 6. 
> 
> 
> 
> 
> 
> 
> On 30-Jul-2016 7:48 pm, "Luke Han" <luke...@gmail.com 
> <mailto:luke...@gmail.com>> wrote:
> I think we have moved to JDK 1.7 a while.
> 
> Maybe you could try to fix those error and contribute back to community for 
> who will run with Java 6 in the future.
> 
> BTW, why not upgrade your java to 1.7?
> 
> Thanks.
> 
> 
> Best Regards!
> ---------------------
> 
> Luke Han
> 
> On Thu, Jul 28, 2016 at 4:35 PM, Sandeep Khurana <sand...@infoworks.io 
> <mailto:sand...@infoworks.io>> wrote:
> I tried it. But there are changes which need to be made in 1.5 JDBC code (and 
> maybe in other components too) for Java6. If any previous version of Kylin 
> which supports Java 6 then I can use that directly.
> 
> On Thu, Jul 28, 2016 at 2:01 PM, Yiming Liu <liuyiming....@gmail.com 
> <mailto:liuyiming....@gmail.com>> wrote:
> Hi sandeep,
> 
> You could build the driver by yourself.
> 
> 2016-07-28 16:01 GMT+08:00 Sandeep Khurana <sand...@infoworks.io 
> <mailto:sand...@infoworks.io>>:
> Can Kylin JDBC Driver work with Java 6? I tried to run v1.5.1 with Java 6, it 
> gives minor version error 51 error. 
> 
> Any older version of Kylin jdbc jar will work with Java 6?
> 
> -- 
> Architect
> Infoworks.io
> http://Infoworks.io <http://infoworks.io/>
> 
> 
> 
> -- 
> With Warm regards
> 
> Yiming Liu (刘一鸣)
> 
> 
> 
> -- 
> Architect
> Infoworks.io
> http://Infoworks.io <http://infoworks.io/>
> 
> 

Reply via email to