New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac binaries in Linux archive #50
Comments
install4j makes it so. Is it not working? I dont think it is wrong build. |
No, it is not possible to run Mac binaries on Linux:
If I install Java 8 I get further
But not very far:
The stack trace is displayed in a dialog that appear immediately after starting the application using:
The tool looks great so it would be cool to get it running :-) |
@sm0svx I will try it on my ubuntu. It seems that you didnt install JavaFX to OpenJDK. Install it or you can easily install Oracle JDK. |
I tried bundled JRE release on Debian x64. It seems working. Did you try bundled release? |
Aha, I thought everything was included in the tar archive, including JavaFX. Isn't the point of the bundled archive that nothing extra need to be installed? I used this package: https://github.com/asciidocfx/AsciidocFX/releases/download/v1.3.2/AsciidocFX_Linux.tar.gz When you tested on Ubuntu, are you sure you are not using a JRE 8 already present on the system instead of the bundled one? I'm having a hard time believing that Ubuntu can run MAC binaries, but stranger things have happened in the past ;-) Anyway, I'm going to test it with the Oracle JRE. |
Yes i have no JRE 8 installed in my system. I tried your installed bundle release. But, i want to be sure for this issue. @lefou is https://github.com/asciidocfx/AsciidocFX/releases/download/v1.3.2/AsciidocFX_Linux.tar.gz working on your linux system? |
Now it started up just fine after installing Oracle JRE. Now off to testing it! So, typing "java -version" just give you a "command not found" error? Well, I guess it would be possible to run Mac binaries in some way but it would probably require some emulation or something like "wine" (that run windows applications on Linux). Some more information here: http://unix.stackexchange.com/questions/3322/what-makes-osx-programs-not-runnable-on-linux Anyway, as I see it, it's an error to package Mac binaries in a Linux package. It should be the Linux JRE. The jre-8u31-linux-x64.tar.gz archive from this page made it run for me: http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html |
We are using install4j. It bundles JRE automatically. I dont know, there may be a software bug. But, i want to be sure. can you try remove jre folder under AsciidocFx and use global JRE 8. |
It runs fine with or without the bundled jre folder if a global Oracle JRE 8 is installed. Now using version 1.3.3 by the way. |
if not working, when no JRE 8 installed ? |
Yes, you have cleared the problem. I created a different JRE for Linux archieve. You can use bundle release without global JRE 8. Thanks |
Hi @sm0svx ; If possible can you try https://github.com/asciidocfx/AsciidocFX/releases/download/v1.3.3/AsciidocFX_Linux.tar.gz without Global JRE 8 again. THanks |
Much better :-) Now it run out-of-the-box! The jre executable now look much better as well:
|
:) Everything is Ok now ? |
Yep! Thanks for fixing the problem. I consider the issue closed. |
Great! Thanks. |
It seems like the release archives for Linux contain Mac binaries.
Something wrong with the build?
The text was updated successfully, but these errors were encountered: