Binding SDL / Java

I read on the front page of libsdl.org that there are bindings from SDL
into many languages, including Java. I totally new to SDL, so I was
wondering how hard this would be in Mac OS X / Project Builder?

I’m also slightly confused as to how the bindings would work, given
that the SDL API is based on C specific features such as pointers…?

I would really like to use the SDL / Java / Mac OS X - could any give
me any pointers (heh :P) for how to begin and set up my project in
Project Builder?

Thanks,
Joe

I read on the front page of libsdl.org that there are bindings from SDL
into many languages, including Java. I totally new to SDL, so I was
wondering how hard this would be in Mac OS X / Project Builder?

Not much harder than any other platform. According to the JSDL page Mac
OS X is untested but expected to work (don’t let that stop you though,
it probably isn’t that difficult).

I’m also slightly confused as to how the bindings would work, given
that the SDL API is based on C specific features such as pointers…?

Ah, you haven’t heard of the Java Native Interface (JNI) which allows
Java to call “native” code (code compiled for a particular
architecture, usually C or C++), and native code to call Java. Java
uses JNI to implement the platform-specific parts of the JDK, such as
window manager details, file system details, you name it (which all has
to be written in C/C++, of course).

I would really like to use the SDL / Java / Mac OS X - could any give
me any pointers (heh :P) for how to begin and set up my project in
Project Builder?

Probably start by compiling JSDL, and reading their Linux directions.
If you can get things working from the command-line, moving to Project
Builder shouldn’t be too difficult. If you can’t find an answer to a
Project Builder question, try reading/searching what documentation you
can find at apple.com/developer and if that fails try the
project-builder-users mailing list (lists.apple.com).On Saturday, March 22, 2003, at 03:11 PM, sdl-request at libsdl.org wrote: