LWJGL Forum

Please login or register.

Login with username, password and session length

Author Topic: Installing on macOSX  (Read 173 times)

Optimo

  • Newbie
  • *
  • Offline Offline
  • Posts: 15
Installing on macOSX
« 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
Logged

Optimo

  • Newbie
  • *
  • Offline Offline
  • Posts: 15
Re: Installing on macOSX
« Reply #1 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.
Logged

spasi

  • Administrator
  • Nerdus Imperius
  • *****
  • Offline Offline
  • Posts: 1782
Re: Installing on macOSX
« Reply #2 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 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.
Logged

Optimo

  • Newbie
  • *
  • Offline Offline
  • Posts: 15
Re: Installing on macOSX
« Reply #3 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
Logged