Giter Site home page Giter Site logo

antonarhipov / jdk9-jigsaw Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adoptopenjdk/jdk9-jigsaw

0.0 2.0 0.0 28 KB

Examples of some of the features of jigsaw in jdk9 (Early Access builds)

License: Creative Commons Zero v1.0 Universal

Shell 71.94% Java 28.06%

jdk9-jigsaw's Introduction

jdk9-jigsaw

Examples of some of the features of Jigsaw released in the Early Access build of JDK9.

The examples here are directly from the Project Jigsaw: Module System Quick-Start Guide, see http://openjdk.java.net/projects/jigsaw/quick-start.

Examples covered

- Greetings
- Greetings world
- Multi-module compilation
- Packaging
- Missing requires or missing exports
- Services
- The linker
- javac -Xmodule and java -Xoverride
- JLink example
- Modules export conflict

Each example is enclosed in a folder of its own containing bash scripts to compile,
package and run the respective examples. Use these scripts for each of the example.

Note: the bash files provided should work on Linux and in theory on the MacOS as well.
For Windows we would have to manually convert the .sh files into .bat, with minor tweaks
should also work there. Happy to received a pull request for it.

Download (all platforms)

Early Access build of Jigsaw JDK9 is available at https://jdk9.java.net/jigsaw/.

OpenJDK Jigsaw JDK9 can also be downloaded from the Adopt OpenJDK Cloudbees build farm. Note: the binaries may not be tested as well as the EA builds.

Please install the tree command before moving forward:

    - Linux
    sudo apt-get install tree
    sudo apt-get install wget

    - MacOSX
    install tree - http://apple.stackexchange.com/questions/128876/whats-the-equivalent-of-the-unix-tree-command-on-osx
    install wget - http://stackoverflow.com/questions/4572153/os-x-equivalent-of-linuxs-wget

    - Windows
    Manually convert the .sh files into .bat, with minor tweaks
should also work there. Install cygwin and Git for windows. Tree command is built into the OS.

The bash script getJigsawJDK.sh helps download the latest Jigsaw JDK from Oracle. Please run this once the repo is cloned.

Must reads

Other resources

jdk9-jigsaw's People

Contributors

neomatrix369 avatar wjam avatar

Watchers

Anton Arhipov avatar James Cloos 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.