In Battlefront II, you unlock a hero by earning the award during a match rather than selecting one from a menu.
Two routes: if you are hosting, adjust the hero settings in the match options so a Jedi is available. If you are playing online, join a game with heroes enabled and fight for the pickup — whoever reaches it first takes the character. It helps to know where the hero spawn appears on that map.