County Judge John Futch questioned him about getting a job or seeking help or getting food from the soup kitchen.
Futch wanted to know if he thought the crime was worth it.
Delvis Rodriguez-Ramos, 21, was already on probation for retail petty theft when the second crime occurred. On Wednesday, he appeared before the judge via video link from the jail and entered a guilty plea.
In addition to the jail term, Futch fined him $500 and told him his current six-month probation term could be violated.
Afterward, Rodriguez-Ramos spoke to a reporter.
“I had not eaten in a couple of days, and I’m homeless,” he said.
An Ocala Police Department officer went to Gamers Edge, 2601 SW 19th Ave. Road, on Tuesday in reference to a retail theft.
Lawrence Bostick, an employee at Gamers Edge, told the officer that on Saturday he noticed candy missing from the counter display, according to an OPD report. Bostick said Rodriguez-Ramos was in the building so he asked him if he had taken the candy. Rodriguez-Ramos denied it and left.
On Monday, the employee said, Rodriguez-Ramos returned to the store and admitted taking the candy, according to the report. Bostick told police he asked Rodriguez-Ramos to return Tuesday so he could talk with him.
When Rodriguez-Ramos returned, the employee called the police.
Rodriguez-Ramos told the officer he took the candy because he was hungry. He said he had been at the store visiting a friend.
When asked on Wednesday why his friend didn’t pay for the candy, he said, “I don’t have friends like that.”
About three weeks ago, he said, he stole some canned food from Walmart because he was hungry.