[ 
https://issues.apache.org/jira/browse/CALCITE-4840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17425870#comment-17425870
 ] 

Julian Hyde commented on CALCITE-4840:
--------------------------------------

{quote}unless I missed something{quote}
Yes, you missed something. In the {{README}}, it says
{quote}
If this is a source distribution, you can find instructions how to
build the release in the "Building from a source distribution" section
in site/_docs/howto.md.
{quote}

In {{README}}, the only reference to {{README.md}} is
{quote}
README.md contains examples of running Avatica.
{quote}
so I'm not sure why you went there for build instructions.

{quote}
When you get there, it states java 8 or later but trying to build with Java 17 
fails. 
{quote}
Yes, we should fix that. Until recently we could build on all versions of Java, 
but then they released JDK 16 and 17 and we didn't do the necessary to support 
them.



> Avatica readme for source release should have better build instructions
> -----------------------------------------------------------------------
>
>                 Key: CALCITE-4840
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4840
>             Project: Calcite
>          Issue Type: Improvement
>          Components: avatica
>            Reporter: Jacques Nadeau
>            Priority: Major
>              Labels: newbie
>
> Right now, trying to figure out how you should build from the source release 
> is too difficult (unless I missed something). To find the rather meagre 
> instructions, you have to:
>  # Open the README and see it says use README.md
>  # Open README.md and follow the link to the avatica home
>  # Click develop
>  # Click avatica development guide link
>  # Find and click "build from a source distribution"
> Good luck to someone to find that path :)
> When you get there, it states java 8 or later but trying to build with Java 
> 17 fails. For reference, jvm I was using:
> {{% java --version}}
> {{openjdk 17 2021-09-14 LTS}}
> {{OpenJDK Runtime Environment Corretto-17.0.0.35.2 (build 17+35-LTS)}}
> {{OpenJDK 64-Bit Server VM Corretto-17.0.0.35.2 (build 17+35-LTS, mixed mode, 
> sharing)}}
>  
> Ideally the readme (or an install.md or a single click) should include:
>  * Prerequisites to build (gradle 6.8.1 and Java 8?)
>  * How to check signature
>  * How to build & test
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to