i recently got mac mini and testing my lwjgl game on it. it runs on Windows and Linux, so i was expecting it torun on Mac OS X as well, but i was wrong. it doesn't.
does anyone have some kind of tips for writing java code for multiple platforms? error i'm getting is OutOfMemory error and thing that i don't understand is it works on Windows and Linux, but Mac OS X. i know implementations of file related java interface really depends on platform, but then what kind of approach i should take for file reading, especially when you need to load large file like map file? FileInputStream/RandomAccessFile etc.