I have a friend who did molecular bio undergrad, honors and all that, did the IP program at my law school, worked as a research assistant for profs, has had non-IP internships, is bilingual, brilliant, just did a few hour lecture on patents at a uni, loves it, studies this stuff on her own, etc.
2 years and change on the hunt and counting. granted she has turned down bullshit low pay positions for crap firms that are obviously trying to fuck people and are just divorce/contract mills, not IP.
That's one horror story, not sure how others are doing. but consider doing what you need to do to be a software engineer, work in it for a while, then decide. There's no rush. There are middle aged folks who go to law school, plenty of late 20s, 30s, 40s...you don't have to go straight out of undergrad.