Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (797)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (864)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Has anyone used OpenJDK 13 with JPackage for deployment / releases?  (Read 1043 times)
0 Members and 1 Guest are viewing this topic.
Offline tom_mai78101
« Posted 2019-06-11 01:38:32 »

OpenJDK 13 is a preview JDK with support for JPackage, a packaging tool with integration to allow packaging Java code into native applications.  Packr, and Pack 2.0 are marked for deprecation and JPackage is the replacement for Packr.

I'm assuming this is for creating native installers.

Has anyone used this before?

I'm currently using Java SE 12.0.1 with my game, and I'm currently looking around for some packaging tools that are compatible with Java 12.0.1, possibly going to look into Java 13.

I know this is a bold question, and I don't expect to get any answers. Perhaps, there are more up-to-date information out there for Java 12 code?
Offline philfrei
« Reply #1 - Posted 2019-06-12 17:09:04 »

I remember trying JavaPackager about a year ago and giving up on it. At first it looked like less of an investment in terms of time needed to get it to work, but there were limitations, including difficulties getting it to work with customized/minimized runtimes. It would be great if this new tool worked smoothly. Good to see it also includes provisions for icons!

Whoever serves as the pioneer here, please consider contributing to our wiki area!

I've posted a couple places about my current "command line" distribution path (I am using OpenJDK 11 or 12, with OpenJFX 11), but here it is again FWIW:

1) move project source code to target OS and add an enclosing module folder and file.
2) command line compile
3) command line jlink
4-Windows) Inno Setup 5 (now 6?)
4-MacOS) manually create .app

I posted an article that shows how to shorten the process, by making a jar of the project and make a jlink-built jvm capable of running that jar. The article was ostensibly for older Java projects (pre-modules), but there is no reason that it can't be used for current code as well. It assumes that the dev environment is using the "unnamed module" (the default module that is built when a module for the source code is not specified).

Would be happy to explain in more detail any step (did so for some of this in our wiki area). Would be even happier to see guidance on short cuts or more direct approaches using higher level tools, such as the new JPackage.

music and music apps:
Pages: [1]
  ignore  |  Print  

hadezbladez (3629 views)
2018-11-16 13:46:03

hadezbladez (1294 views)
2018-11-16 13:41:33

hadezbladez (3634 views)
2018-11-16 13:35:35

hadezbladez (697 views)
2018-11-16 13:32:03

EgonOlsen (4000 views)
2018-06-10 19:43:48

EgonOlsen (4528 views)
2018-06-10 19:43:44

EgonOlsen (2688 views)
2018-06-10 19:43:20

DesertCoockie (3549 views)
2018-05-13 18:23:11

nelsongames (3701 views)
2018-04-24 18:15:36

nelsongames (4726 views)
2018-04-24 18:14:32
Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!