Obtaining a Dark Gem in Kingdom Hearts II is straightforward once you know what to do: defeat a Shadow enemy. Shadows are the common Heartless you encounter early in the game, and taking them down will reward you with the Dark Gem you are after. Keep battling them until it drops, and you will have what you need.