In the battle with Bastila on Lehon (sorry, unknown world) make any choices that create the decision NOT to make Bastila join you and kill the others. (Assuming that you have completed all the crew-members sidequests, including helping Juhani KILL the guy from Taris who tried to buy her)
No, a Dark Side female character is essentially how you get a romance with Juhani.