cubeb ("piper cubeba"), also known as tailed pepper or java pepper, is a plant in genus "piper" is used for its fruit and essential oil. it is usually found in java, and so it is sometimes called java pepper. the fruits are gathered before they are ripe, and dried carefully. the seed of the plant is white and hard oily.