Menu

#107 Support Java 9

Future
open
None
5
2018-04-26
2016-07-20
No

After installing any Java 9 build after introducing JEP 223 (http://openjdk.java.net/jeps/223), the lauch4j cannot properly detect it (which now introduce it's version as 9, not 1.9). Like in above case, I'm recieving the window that Java 1.x is required, and then I have Java download website opened.

GK: Wait until official release - this version has to be registered properly in order to work.

Discussion

  • rednoah

    rednoah - 2016-11-28

    Bump for Java 9 support. The Java 9 EA already works pretty well for apps that need High DPI support.

     
  • rednoah

    rednoah - 2017-02-22

    Java 9 is Feature Complete and EA builds are readily available:
    https://jdk9.java.net/download/

    I'd also be happy to send a paypal donation your way. ;)

     
  • Grzegorz Kowal

    Grzegorz Kowal - 2017-02-22

    Replace the head.o file in head or head_jni_BETA folder in launch4j 3.9.
    This will additionally search for jre/jdk 9.
    If you don't specify the max version it will select this one, if you want it to be the minimum version then configure minVersion to 9.0.0.
    This is also a preview version as I don't know if they change the final info in winodws registry, but the versioning scheme will be different and problably reg keys too.

    Grzegorz

     

    Last edit: Grzegorz Kowal 2017-02-22
  • rednoah

    rednoah - 2017-02-22

    Thanks. I'll try with this.

     
  • Larry Cardani

    Larry Cardani - 2017-05-12

    Hi,
    We encountered the same problem after installing JRE 9-ea+167. JRE 9 is to be release in July, 2017.

    The following link shows that the version change seems to be solidified:
    http://openjdk.java.net/jeps/223

    When do you plan on releasing a new version of Launch4j which supports the new version string (including the "9-ea" string)? We would like to verify the fix and get it included in our product before jre 9 gets released in July.

    Thanks!

    Larry C.

     
  • Larry Cardani

    Larry Cardani - 2017-05-17

    Any response from my question last week? My team is asking for an update...

    Thanks,

    Larry C.

     
  • Grzegorz Kowal

    Grzegorz Kowal - 2017-05-17

    Hi, I've been rather busy lately so I couldn't take care of launch4j issues. I'll make a test with this new version and try to release an update till end of May. Might be I'll have some time during the upcoming week.

    Grzegorz

     
  • Larry Cardani

    Larry Cardani - 2017-05-30

    Any update on this issue?

     
  • Larry Cardani

    Larry Cardani - 2017-06-06

    I'll make a test with this new version and try to release an update till end of May
    Sorry to be a pest, but is there any update? We would like to be able to start our application on Java 9, so we can investigate other possible Java 9 issues.

    Thanks!

    Larry C.

     
  • Grzegorz Kowal

    Grzegorz Kowal - 2017-06-12

    Unfortunately I had to drop the new release due to anti-virus false positives. If the attached head.o works for you and does not trigger such warnings, please use this. The release does not include more in tems of Java 9 support at this moment,

     
  • Larry Cardani

    Larry Cardani - 2017-06-13

    Thanks for the update. A couple of questions:
    - Do you plan on releasing another version of launch4j / launch4jc that does not have the anti-virus issue? If so, do you have a timeframe on that?
    - In the meantime, do you have instructions / build files that will help us use your new version of head.o and produce launch4j.exe and launch4jc.exe for windows?
    Thanks!

     
  • Larry Cardani

    Larry Cardani - 2017-06-14

    FYI, a co-worker figured out how to build with your head.o, and we avoid the error on Java 9.

    -> Do you plan on releasing an official version of launch4j / launch4jc that does not have the anti-virus issue? If so, do you have a timeframe on that?

    Thanks!

    Larry C.

     
  • Grzegorz Kowal

    Grzegorz Kowal - 2017-06-27

    Great! I just released 3.11 that fixes the problem, though webroot still complains in case of the zip package (out of almost 60 antivirus tools) but the report in virus total does not provide details as to which file did not pass the scan. The .exe package which is the default for windows and other packages pass all tests.

     
  • ihbar

    ihbar - 2017-11-21

    Hello
    Do you have some plan to release soon a version compatible with Java 9 ?

    Best regards

    Stephane

     
  • Claude Heintz

    Claude Heintz - 2018-01-30

    I'm also interested in a Java 9 compatible version. I would like to move my deployment process to my Java 9 development machine. Thanks for launch4J, it makes packaging really easy over multiple platforms.

     
  • Sergey Karpushin

    Claude, well many people interested in this, but it doesn't really help =)
    Dear Grzegorz, please share your plans regarding this feature.

     
  • Sergey Karpushin

    UPD: Merge request created: https://sourceforge.net/p/launch4j/git/merge-requests/14/
    @Grzegorz, please let me know what you think.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.