Formation of extragalactic jets from a black hole 