-
Notifications
You must be signed in to change notification settings - Fork 148
Closed
Labels
bugSomething isn't workingSomething isn't workingfixedIssue fixed and release pendingIssue fixed and release pending
Description
I'm submitting a…
- bug report
- feature request
- other
Short description of the issue/suggestion:
an app created by javapackager plugin doesn't work.
Steps to reproduce the issue/enhancement:
- create pom.xml
- mvn package -Dmaven.test.skip=true
- click the application created
What is the expected behavior?
the application works.
What is the current behavior?
mac said "cannot open the application"
Do you have outputs, screenshots, demos or samples which demonstrate the problem or enhancement?
$ target/Notificator/Notificator.app/Contents/MacOS/universalJavaApplicationStub
zsh: target/Notificator/Notificator.app/Contents/MacOS/universalJavaApplicationStub: bad interpreter: /bin/bash^M: no such file or directory
$ dos2unix target/Notificator/Notificator.app/Contents/MacOS/universalJavaApplicationStub
dos2unix: converting file target/Notificator/Notificator.app/Contents/MacOS/universalJavaApplicationStub to Unix format...
$ target/Notificator/Notificator.app/Contents/MacOS/universalJavaApplicationStub 1.2.1
Hello World!
after dos2unix, the application works.
provided universalJavaApplicationStub's EOL is wrong.
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
- JavaPackager version: 1.6.7
- OS version: macos 11.6.6
- JDK version: 1.8.0_291
- Build tool:
- Maven
- Gradle
Other information (e.g. related issues, suggestions how to fix, links for us to have context)
jzy3d
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfixedIssue fixed and release pendingIssue fixed and release pending