Create jre from OpenJDK Windows

前端 未结 10 2033
太阳男子
太阳男子 2020-12-08 09:54

We are switching from Oracle JDK/JRE to OpenJDK. Now I found only the JDK but I want to have a JRE as well from OpenJDK. This is for installing our application on the client

10条回答
  •  佛祖请我去吃肉
    2020-12-08 10:20

    For a more straightforward approach i wrote this little tool, which you can use under Windows: https://github.com/g3t00ls/OpenJDKtoOpenJRE

    I personally use OpenJDK from: https://jdk.java.net/

    It basicly does exactly what SteinarH wrote.

    Currently it includes all java modules and exludes all jdk modules! A GUI to select required modules / an auto detect function for required modules for even smaller JRE's will probably be added soon! Currently it still needs jlink, so only >=v9 JDK's will work! This could change in the future!

提交回复
热议问题