bbburglarly_
bbburglarly_

Reputation: 1

I have a problem with sharing my Java application + Launch4j

Hello fellow programmers. I'm going to give you a little bit of context to understand my problem better ;P

I've studied a 2 year vocational training of programming, and now I have to spend 3 months in a company to finally finish. The company I've been asigned to is not primarly focused in programming, as I'm the only one with a bit of understanding of this subject, so I can't really rely on anyone around here.

Basically, I've been assigned to develop a simple XLSX formatter app with Java. After a day or two, I finally finished it, but now, I am facing the problem of sharing this app with other people around the office. I've never shared an app in class, only shared the project with my teacher or classmates, and pressed the compilate button (like in IntelliJ, for example). After some research, I managed to create the .jar with all the Maven dependencies, and the .exe taking that .jar and copying the path to my JRE (I've duplicated the JRE folder, and I placed it in the project folder)

Then, I made the .zip and sent it to my workmates, but they always get the same error message The application requieres a Java Runtime Environment

What am I doing wrong?

I've installed Java on their PCs and followed a bunch of tutorials, even asked ChatGPT for the specific steps and error.

I'm a native spanish speaker, so sorry for any mistake (cliché)

Upvotes: 0

Views: 38

Answers (0)

Related Questions