Open
Description
I'm submitting a…
- bug report
Short description of the issue/suggestion:
DEB package for ubuntu not working when true
Steps to reproduce the issue/enhancement:
- Create DEB package for ubuntu without Wrapjar or wrapjar set to true
- Install the package in ubuntu
3.running the executable yields following error
Error: An unexpected error occurred while trying to open file ##########
What is the expected behavior?
The deb file works with wrapjar set to true
What is the current behavior?
The package is not working with wrapped jar in executable
Do you have outputs, screenshots, demos or samples which demonstrate the problem or enhancement?
<plugin>
<groupId>io.github.fvarrui</groupId>
<artifactId>javapackager</artifactId>
<version>1.7.5</version>
<executions>
<execution>
<id>bundling-for-linux</id>
<phase>package</phase>
<goals>
<goal>package</goal>
</goals>
<configuration>
<mainClass>com.test.Main</mainClass>
<bundleJre>true</bundleJre>
<jrePath>./jre</jrePath>
<runnableJar>${project.build.directory}/${project.artifactId}-${project.version}-jar-with-dependencies.jar</runnableJar>
<linuxConfig>
**<wrapJar>false</wrapJar>**
<generateRpm>false</generateRpm>
</linuxConfig>
<platform>linux</platform>
<createTarball>true</createTarball>
</configuration>
</execution>
</plugin>
What is the motivation / use case for changing the behavior?
want to package the jar inside the executable to hide the jar file from the user
Please tell us about your environment:
- JavaPackager version: 1.7.5
- OS version: ubuntu 22.04 jammy
- JDK version: openjdk-11
- Build tool:
- Maven
Other information (e.g. related issues, suggestions how to fix, links for us to have context)