Better build a proper distribution unless you have no other choice like shitty Bukkit plugin mechanism that forces you to build a fat jar instead of doing it properly.