Demon in the Bottle (1996)

Four teenagers find a lost treasure buried by a 18th century pirate on a desert island. But they accidentally release the monster who lives inside a bottle, keeping the treasure.