Get your taxes done using TurboTax

Hi, I am a full year resident of NJ and owns a primary home in NJ.  I have a rental condo in PA and sold it.  Do I own income or capital gain tax in NJ or PA or both?  Thanks.