GithubHelp home page GithubHelp logo

sjmaple / jdk9-jigsaw Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adoptopenjdk/jdk9-jigsaw

0.0 1.0 1.0 3.98 MB

Examples and exercises based on some of the features of jigsaw in JDK9/Jigsaw (Early Access builds)

License: Creative Commons Zero v1.0 Universal

Shell 56.73% Java 38.28% HTML 4.99%

jdk9-jigsaw's Introduction

jdk9-jigsaw

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

Many of the examples here are directly from the Project Jigsaw: Module System Quick-Start Guide, see http://openjdk.java.net/projects/jigsaw/quick-start but we have also contributions from the Java community.


Please note you are in the master branch which contains exercises which need to be solved by looking at documentation or resources provided in this repo. Hints may be provided within the source or script files. If you hit a roadblock and really want to see a possible solution you can switch to the exercise-solutions branch for that.

Looking at the solutions can take away the challenge behind solving the exercises. Stay on the master branch in case you would like to continue to have fun solving the exercises and working through the challenges.


Setup (all platforms)

See Download, install and verify JDK.

Download and install git or git-bash

  • Ensure you have a git client installed on your local machine/VM/vagrant box, for Windows users git-bash is recommended

Download and install the tree and wget command

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

    install `git-bash` (recommended) or `cgywin`
    

    The tree command is built into Windows. From within git-bash or cygwin. In case a script is invoking the tree command and failing, please replace the tree -fl keywords with cmd //c "tree /f /a". If that does not work either use ls -R instead, except you won't see the output in a tree format.

    Or manually convert the .sh files into .bat, with minor tweaks should also work there.

    Thanks Richard Kolb (@rjdkolb) for your continued support in this area.

Vagrant box

(Optional) Install JDK 9 compliant IDE

  • Install the latest IDE (IntelliJ, Eclipse, NetBeans - paid or community version) that supports JDK 9 EA, once installed configure the IDE to pickup the JDK 9 EA installed in the previous steps.

Other preparations

  • Get familiar with the command-line a bit as we will be using much of it during the weekend

  • Prepare your VMs or cloud instances with the above, in case your local machine is not up for any installation or configurations

Note: the bash files provided should work on Linux and in theory on the MacOS as well.

For Windows users, if you use git-bash (recommended) or cgywin they should work for you.

In the worst case scenario, 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.

Examples covered

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 examples.

Resources

Must reads

Other resources

jdk9-jigsaw's People

Contributors

neomatrix369 avatar blalasaadri avatar antonarhipov avatar hendrikebbers avatar iweiss avatar codetojoy avatar wjam avatar danhaywood avatar practicalli-johnny avatar kamkor avatar amanica avatar heysourabh avatar kwahsog avatar asafm avatar hillmerch avatar mcpringle avatar karianna avatar pegerto avatar rgra avatar enriquezrene avatar sjmaple avatar tjololo avatar

Watchers

James Cloos avatar

Forkers

simonsnyk

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.