Comments (7)
Where is JavaAppLauncher coming from? I need a replacement so that I can submit apps for Notarization. I would submit a PR if I knew how to rebuild it.
from gradle-macappbundle.
I see that @olegs forked to include JavaAppLauncher from https://github.com/i-net-software/SetupBuilder. Could we get an update for this?
from gradle-macappbundle.
@chrisvire As far as I understand originally JavaAppLauncher comes from OpenJDK7 https://svn.java.net/svn/appbundler~svn
Unfortunately it is not available at the moment.
I found the following fork repository: https://github.com/TheInfiniteKind/appbundler
It contains source code and build instructions for JavaAppLauncher, however there were some problems building it on my machine from sources.
from gradle-macappbundle.
What about using javapackager from JDK?
from gradle-macappbundle.
@crotwell, can you find the source for JavaAppLauncher? Please?
I had the JavaAppLauncher from https://github.com/i-net-software/SetupBuilder working for me. However, just before releasing, I am seeing this Java2d crash:
https://bugs.openjdk.java.net/browse/JDK-8244818
I don't see this crash with the JavaAppLauncher included in the repo. I REALLY need the source of the JavaAppLauncher that is include in the repo.
I tried taking the source (main.m) from both https://github.com/i-net-software/SetupBuilder and https://github.com/TheInfiniteKind/appbundler and build them using this makefile:
CC=clang
CFLAGS=-x objective-c -mmacosx-version-min=10.12 -I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/darwin
LIB=-framework Foundation -framework Cocoa
JavaAppLauncher: main.m
$(CC) $(LIB) -o $@ $(CFLAGS) $<
.PHONY: clean
clean:
rm -f JavaAppLauncher
Using either of these, my app crashes when I drag the main window from the primary monitor to the secondary monitor and then back. If I use the JavaAppLauncher that is included in this repo, then I don't see the crash. However, this binary has
LC_VERSION_MIN_MACOSX set to 10.7 and notarization require 10.9 or higher.
from gradle-macappbundle.
@crotwell , @olegs : I found a version of JavaAppLauncher from OpenJDK7:
https://github.com/openjdk-mirror/jdk7u-jdk/tree/master/src/macosx/bundle/appbundler/native
However, it is not the same as what is included in this repo. It is expecting the full JDK and not the JRE (different parameters in the Info.plist).
from gradle-macappbundle.
Sorry, I am no longer developing java mac apps and don't have time to devote to this project currently. If you have a pull request I can look at it.
I do not remember where the JavaAppLauncher came from, pretty sure I did not compile it. Best guess is it was included with the JDK from Oracle, but that might have been Java6.
You can set the launcher program to another executable using the
bundleExecutable
property. That said, I think the java world has changed the way apps are packaged in the intervening time and this plugin may no longer be the best choice since it uses an older style.
from gradle-macappbundle.
Related Issues (20)
- Deprecation warning with Gradle 4.0-rc-1 HOT 4
- Error: execCommand == null HOT 2
- Subproject evalutation and executing project.afterEvaluate{} HOT 1
- Resulting app does not open when bundleJRE = true HOT 6
- Error prototypes method getJREDirName HOT 4
- About the dmg HOT 7
- backgroundImage option fails on osascript when project path contains spaces
- JDK 10 is not bundled HOT 7
- Adding javaExtras.put() creates an app that wonβt run HOT 3
- There doesn't seem to be a way to create a /Applications alias in a dmg without a background image HOT 5
- Builing DMG often fails when background image is set HOT 2
- Switch app launcher to one with a better JRE missing error? HOT 5
- Application hangs when okhttp3.Credentials.basic method gets called HOT 2
- is it possible to manually edit the startup script? HOT 4
- Gradle 5.0 build fails on non-macOS systems HOT 1
- Java 11 JRE's from adoptopenjdk are not supported HOT 1
- Remove dependency between assemble and macappbundle tasks
- Documention/Links on how to contribute HOT 1
- JavaAppLauncher Apple Silicon (arm64) support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-macappbundle.