Java sound and 3d api's are free and open source
there are lots of other free open source API s
there are also some open source "3d game engine" available
including Jake, Java port of my favorite game Quake II engine:
http://bytonic.de/html/jake2.html