Win a copy of High Performance Python for Data Analytics this week in the Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

launch4j issue

 
Greenhorn
Posts: 23
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sir I am using Netbeans 12 for java 15 desktop maven project

I want to build project so I am trying to install launch4j
So I download it from this link
https://sourceforge.net/projects/launch4j/

When I try to install it then it says:

---------------------------
launch4j
---------------------------
This application requires a Java Runtime Environment 1.6.0 - 1.8.9
The registry refers to a nonexistent Java Runtime Environment installation or the runtime is corrupted.
---------------------------
OK  
---------------------------

Is it necessary to install JRE or this is path issue?

Java installation folder has following structure

https://imgur.com/a/QmWdEM8

Please






 
Master Rancher
Posts: 4107
37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try passing this to Google for lots of suggestions:   Java Runtime Environment 1.6.0 - 1.8.9
 
Saloon Keeper
Posts: 12628
273
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
run4j uses register keys set by the Oracle JRE installer to determine the location of a JRE to use.

Either install the Java 8 JRE from Oracle, or if you prefer to use OpenJDK, you need to set the register keys yourself. You can easily find them on the Oracle website if you Google.
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Although this may be off-topic: I question the error message for two things:

a) it mentions 1.6.0 to 1.8.9 specifically
Someboy may correct me, but was there ever any version that made use of the 3rd minor? As far as I recall the format was and still is 1.X.0 where X is the Java version. I only recall very early versions up to 1.4.2 using all 3 digits, but at least since Java 5(.0) the last digit was always set to 0.

b) it has an upper maximum version
I'm not sure what 1.8.9 is supposed to mean - this isn't a Minecraft version - and although Java 9 broke a lot of codes this shouldn't be true for Launch4J, as all it does is combine a jar with a windows executable PE header.
 
Not looking good. I think this might be the end. Wait! Is that a tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic