Working in multiple states

I reside in PA and worked a small part time job.  I also went to college in NJ and worked a small job on campus.  In July I got a full time job working remotely for a company in NJ.  Do i need to file taxes in Nj also?  I am using the PA state program and it says i owe over $500 in PA taxes.  How can this be???