Giter Club home page Giter Club logo

conan-java_installer's Introduction

Appveyor Status Travis Status

This repository holds a conan recipe for Java.

Conan.io package for Java project

The packages generated with this conanfile can be found in Bintray.

This Conan package contains the Java Development Kit (JDK). It is cross platform and is intended to be used as a Conan "build_requirement" for C++ projects which require Java to be built. Google's build system "Bazel" is one example of a C++ build system which requires Java. Note that this package should not interfere or interact with other installations of Java on the machine. It does not change any persistent environment variables, it only adds/modifies those for the existing process. It passes the required environment variables to packages which list it as a requirement or build_requirement via Conan's native env_info functionality.

This package is based on Azul Systems' Zulu build of OpenJDK. It's a certified and stable build that and functionally equivalent to Oracle's (as well as IBM's, Redhat's, and other certified builds). There are a number of advantages to using Zulu, which have caused many projects and organizations to use it as the default, including Microsoft Azure. If you are unfamilliar but interested in the differences between JDK providers, you are encouraged to research the topic.

For Users: Use this package

Basic setup

$ conan install java_installer/9.0.0@bincrafters/stable

Project setup

If you handle multiple dependencies in your project is better to add a conanfile.txt

[requires]
java_installer/9.0.0@bincrafters/stable

[generators]
txt

Complete the installation of requirements for your project running:

$ mkdir build && cd build && conan install ..

Note: It is recommended that you run conan install from a build directory and not the root of the project directory. This is because conan generates conanbuildinfo files specific to a single build configuration which by default comes from an autodetected default profile located in ~/.conan/profiles/default . If you pass different build configuration options to conan install, it will generate different conanbuildinfo files. Thus, they should not be added to the root of the project, nor committed to git.

For Packagers: Publish this Package

The example below shows the commands used to publish to bincrafters conan repository. To publish to your own conan respository (for example, after forking this git repository), you will need to change the commands below accordingly.

Create and Package

The following command both runs all the steps of the conan file, and publishes the package to the local system cache.

$ conan create bincrafters/stable

Add Remote

$ conan remote add bincrafters "https://api.bintray.com/conan/bincrafters/public-conan"

Upload

$ conan upload java_installer/9.0.0@bincrafters/stable --all -r bincrafters

License

Zulu License

conan-java_installer's People

Contributors

bincrafters-user avatar solvingj avatar theodelrieu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.