The military has juries that are usually composed of officers and the jury gets to assign punishment in most cases. It’s still a jury and calling it “jury duty” is not entirely incorrect.
And if you called a horse apple a rose, it woudl still stink. They are not the same as civilian juries, they have different duties, and different powers. They are called military Courts. As in Courts Martial. (Martial == military). If a JAG officer said during a trial, "may it please the Court", he wouldn't be talking to the judge, as a civilian lawyer would be.
They are usually composed of officers, but any enlisted defendant has the right to have enlisted members on his Court. Of course the defense JAG officers, and any civilian lawyer who knows the system, will usually advise against doing that. Officers are much easier on defendants than senior enlisted members. :)