Git Product home page Git Product logo

jrecreator's Introduction

in development

JREcreator

Create JRE for modern JDK using python3 scripting of java jlink tool.
Tested using python3 on kubuntu 18.04 in 2020.

steps

  • you must have python3 instaled on your pc
  • download needed jdk version, f.e. AdoptOpenJDK
  • extract archive, it create folder, which can be renamed manually, if needed
  • place jrec.py inside jdk folder. on level of bin folder
    • jrec.py
    • bin/
    • man/
    • ...
    • release
  • run jrec.py python3 script.
    • linux (tested using kubuntu 18.04)
      • open terminal, and execute commands
      • cd /path/of/your/jdk
      • python3 jrec.py
      • enter, wait
    • windows (not tested)
      • place jrec.py inside jdk folder
      • select file , and press enter, wait
  • jre folder will appear in level of bin folder
    • jrec.py
    • bin/
    • man/
    • jre/
    • release

This allow using resulted jdk with injected jre folder that packr work correct way , without breaking the flow.

why this was created

Some tools f.e. libgdx packr need jre folder inside jdk for correct work, because was updated before java change jdk structure.
Modern jdk (version 9+) have different structure of JDK , which break the packr work flow.
This script jrec.py generate the jre folder inside jdk folder , using jlink java tool.

jrecreator's People

Contributors

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