Disclosed are novel cannabinoid (CB2) receptor agonists, their compositions, and the methods of their preparation. The compounds are useful for lowering ocular intra ocular pressure, treating glaucoma, useful as antiinflammatory, immunosuppressive, analgesics agents, and as agents for treatment and prevention of emesis and nausea because of the activity on the cannabinoid receptor.