Skip to content
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

How do I build this on mac? #2

Open
cschneider opened this issue Jan 29, 2020 · 4 comments
Open

How do I build this on mac? #2

cschneider opened this issue Jan 29, 2020 · 4 comments

Comments

@cschneider
Copy link

I tried to use the build-app.sh but got some errors. One is:
build_app.sh: line 69: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/jlink: No such file or directory

I got the directory but it does not contain jlink. Does this not work on java 8?
Can I build/run the game without creating a native package? I am more interested in the javafx aspects.

@sormuras
Copy link

jlink was introduced with JDK 9: https://docs.oracle.com/javase/9/tools/jlink.htm

Does this not work on java 8?

Nope. Not as-is.

Can I build/run the game without creating a native package?

Commenting out all jlink related lines should do the trick. For example:

id 'org.beryx.jlink' version '2.16.4'

@sormuras
Copy link

Or better: install and use JDK 13 or at least a maintained JDK 11 on your box. 😉

@HanSolo
Copy link
Owner

HanSolo commented Jan 30, 2020

Well this project is based on JDK11 incl. modules. I‘m also on Mac and it works perfectly fine 😁

@sormuras
Copy link

Dooh. Of course. Modules! 🤓

That renders my first answer useless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants