LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Optimo on April 07, 2017, 02:26:12

Title: Installing on macOSX
Post by: Optimo on April 07, 2017, 02:26:12
I am very noob when it comes to Mac. I'm having difficulty knowing where to look for what I need to know because Mac in general is quite foreign to me.

My game is made with LWJGL3 3.1.2 and Java 1.8.0 presently. I have it in a distributable form for PC with an izPack installer. What do I do or can you help point me at what I need to know in order to get this program on a Mac?

- Natives: Just replace the OS specific libraries with their MacOS counterparts?

- Installing: izPack claims, "The very same installer works on any operating system where a Java SEâ„¢ 6+ virtual machine exists" which includes MacOSX. If I have those natives replaced, then the installer and installed program should still work ok on mac?

Thanks!  ;D
Title: Re: Installing on macOSX
Post by: Optimo on April 08, 2017, 20:05:46
Shoot. I'm surprised this is one still unanswered. Seems pretty straightforward, I just would like some kind of confirmation. Kinda desperate atm. I may actually have no friends with a Mac on which to test, but I'd sure like to be able to say with confidence that my game can be put on a Mac.
Title: Re: Installing on macOSX
Post by: spasi on April 08, 2017, 23:51:43
On natives: yes, you need the macOS shared libraries. There are no other differences and you can choose (https://github.com/LWJGL/lwjgl3-wiki/wiki/1.2.-Install) the deployment method you prefer (in the classpath with the SharedLibraryLoader, or as plain files with -Djava.library.path or -Dorg.lwjgl.librarypath).

On installation: I'm not familiar with lzPack. macOS should be the easiest platform to install on, but I would strongly advise against doing it blindly. Testing on a real macOS machine is a must if you want to be sure everything works as expected.
Title: Re: Installing on macOSX
Post by: Optimo on April 09, 2017, 01:15:12
Thanks a ton. This is what I figured. Still workin hard to find access to a Mac, but it is nice to at least know it *should* work after I deal with any kinks. Found a friend with Linux at least. Edit: found friend with a Mac!  ;D