L2J Server on Mac OS X

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
METALLAS
Posts: 19
Joined: Thu Dec 27, 2007 9:22 am

L2J Server on Mac OS X

Post by METALLAS »

Hi guys,
I would like to ask you if there is a way to run an L2J Server on Mac OS X Computer.
And if there is ...how?
Thanks in advance.
Eragon
Posts: 82
Joined: Thu Apr 21, 2005 2:14 pm

Re: L2J Server on Mac OS X

Post by Eragon »

Google ?

as far as I know, Mac OS X is linux based?

If so, should be pretty much straight forward when installing.

install mysql, java, and whatever else you need.

And please, don't ask for a dummy guide, we got enough of the already.
azuul
Posts: 289
Joined: Sat Aug 26, 2006 8:56 am

Re: L2J Server on Mac OS X

Post by azuul »

mac os x is -not- linux based...
it has a bsd kernel with os x os (an evolution straight from Next Step, but so much has changed from the old black cubes that this is just an accademic issue) .
but then the os it's not a problem, java is - last time I searched Apple didnt permit a full Sun java machine implementation, if this has changed there's no problem, if still you dont have a java machine full compatibile with sun's one, no luck.
User avatar
nonom
L2j Veteran
L2j Veteran
Posts: 649
Joined: Wed Mar 11, 2009 10:34 pm
Location: Magmeld

Re: L2J Server on Mac OS X

Post by nonom »

Eragon wrote:Google ?

as far as I know, Mac OS X is linux based?

If so, should be pretty much straight forward when installing.

install mysql, java, and whatever else you need.

And please, don't ask for a dummy guide, we got enough of the already.
Im working a test l2j server on MAC OS X and its works fine (it is Java) .. Eragon, MAC is not a Linux based, please, to say "Google" shut up because you are a perfect dummie.
Image
"There are three kinds of people in this world, those who can count and those who can't"
Vapulabe
Posts: 271
Joined: Wed Mar 19, 2008 10:16 am

Re: L2J Server on Mac OS X

Post by Vapulabe »

I think that using L2J on MacOSX is worth a try (and tell us if it works here afterwards). The main problem may come from mysql (I don't know if there is a MacOSX port for it).

If MacOSX's java don't work, have a look on the internet for other ports. You may also have a look at projects like Kaffe (opensource) which could (not tested) work with MacOSX.
User avatar
nonom
L2j Veteran
L2j Veteran
Posts: 649
Joined: Wed Mar 11, 2009 10:34 pm
Location: Magmeld

Re: L2J Server on Mac OS X

Post by nonom »

MySQL have not problem on Mac OS X, and I think you can use MAMP or XAMPP (Mac version) also if you have problems with a normal installation. MySQL install is possible in Terminal console using a Mac OS X binary package in PKG format.

http://dev.mysql.com/doc/refman/5.0/en/ ... ation.html
Image
"There are three kinds of people in this world, those who can count and those who can't"
Eragon
Posts: 82
Joined: Thu Apr 21, 2005 2:14 pm

Re: L2J Server on Mac OS X

Post by Eragon »

You are right, it ain't linux based, it's unix, at least this is what google told me.

Never tried mac-os my self, anything with the name mac ain't worth wasting my time on.
Vapulabe
Posts: 271
Joined: Wed Mar 19, 2008 10:16 am

Re: L2J Server on Mac OS X

Post by Vapulabe »

MacOSX is BSD-based (so, it's closer to OpenBSD/FreeBSD/NetBSD than linux)
Eragon
Posts: 82
Joined: Thu Apr 21, 2005 2:14 pm

Re: L2J Server on Mac OS X

Post by Eragon »

Yea, but they use the same basic system (unix), so commands and line-up should be pretty much, or ?
Vapulabe
Posts: 271
Joined: Wed Mar 19, 2008 10:16 am

Re: L2J Server on Mac OS X

Post by Vapulabe »

Well, you've several parts :

CPU and Hardware
Kernel (sysV or BSD, different syscalls, ...)
Standard libraries (C, X11, ...)
Java Runtime Environment
L2J

L2J only depends on JRE, with no direct calls to other parts of the computer.

JRE depends on Standard libraries (for most part) AND kernel (JNI interface, low-level interfaces (like the smartcard one), sound, ...)

So, to have a JRE working on MacOSX, you need more than recompile JRE (which would be enough if JRE only depended on standard libraries) but also to patch it for the part specific to the OS (sound, smartcard, ...)

Apple has it's own version of JRE, a few revision late on the official JRE and which *may* have some functionnalities either stripped or changed (like the GUI part which has been adapted to the MacOSX GUI system and look)

Making a JRE for MacOSX is not an impossible task but not a trivial one either... And JRE for Linux don't work on OpenBSD/FreeBSD/NetBSD/MacOSX/Solaris for Intel/...
METALLAS
Posts: 19
Joined: Thu Dec 27, 2007 9:22 am

Re: L2J Server on Mac OS X

Post by METALLAS »

Well,I installed java,Mysql Navicat at now.
I compiled the pack.My problem is that i can't execute the Server.

Edit:Java already installed.My bad sorry.
Post Reply