ANNAPOLIS, Md. (AP) _ After six weeks of intensive physical training and seven very important chin-ups, Midshipman Jay R. Linder got his reward Wednesday.

U.S. Naval Academy officials presented him with the diploma and the commission as a Navy ensign that he was denied in May because he fell one short of the six chin-ups required of male academy graduates.

At that time, Linder was told he wouldn't get his degree and might have to serve as an enlisted Navy man, but he persuaded the academic board to give him a second chance.

While his classmates went on leave, got married and began careers as Naval officers, Linder trained for Tuesday's second and final try at the test.

He said that the outcome was in doubt up to the end.

Despite the training to build his upper body strength, he was still stuck at the end of last week at five chin-ups, which must be done with the palms of the hands facing foward over the bar.

''I took a couple of days off ... and then I just went for it,'' Linder said. ''I had just one chance, and if I didn't do it, I wouldn't graduate.''

The hard work paid off Tuesday when Linder did his six required chin-ups, and then added a seventh for good measure.

Now that he has graduated, Linder will go ahead with plans to marry Julia Himmighoefer of Arnold, a small town near Annapolis.

They had planned to be married in the academy chapel June 6, but had to postpone the wedding because midshipmen aren't allowed to marry. The new date is July 18.

After their honeymoon, the couple will move to San Diego where he will enter the Navy's Surface Warfare Officer School in San Diego in August.

Joining Linder, 22, of Los Angeles, at Wednesday's ceremony was Brendan P. Daly, who had not completed all of his military requirements in time for the May graduation.

Cmdr. Kendall Pease, the academy public affairs officer, said midshipmen often are given more time to make up graduation requrements. During the two previous years, there were 17 late graduates, he said.

Linder said his problems began last fall when he injured his shoulder in intramural sports. He said he could do more than six chin-ups before the injury, but was never able to do more than five after he was hurt.