0

I am on Ubuntu 16.04 and I'm trying to bundle the jre path with my java app in launch4j so that the app can run anywhere without the need of java. But as I run the .exe file of the app on another computer, it says jre is absent although I copied entire jre folder inside my project folder(with bin and lib). I am unable to troubleshoot the problem as I can't figure out where the problem is. Please help!!

13
  • You need to set the java environment variables
    – DavidPostill
    Commented Jul 21, 2019 at 6:29
  • How can I do that? Please tell! Commented Jul 21, 2019 at 11:08
  • Answered on Stack Overflow, see How to set Java environment path in Ubuntu - Stack Overflow
    – DavidPostill
    Commented Jul 21, 2019 at 13:26
  • I want to run the app on a computer on which java is not present! Actually i set jre min. version 1.0.0 on launch4j so when i try to run it on another computer it says min 1.0.0 jre is required! My sole purpose is to run the app without the need of java Commented Jul 21, 2019 at 14:38
  • You still need to set the environment variables so that the JRE can be found.
    – DavidPostill
    Commented Jul 21, 2019 at 15:41

0

You must log in to answer this question.

Browse other questions tagged .