In a statement, the judges added that they were forming a new association. Bouteflika returned to Algeria on Sunday after undergoing medical treatment in Swizterland.
Tens of thousands from all social classes have been demonstrating unrelentingly for three weeks against his decision to stand in April's election, rejecting a stale political system dominated by veterans of an independence war against France that ended in 1962.
Algeria's Bouteflika warns against 'chaos' ahead of protests
The protesters have rejected his offer to limit his term if he wins the vote. In the clearest indication yet that the generals sympathise with protesters, the chief of staff said the military and the people had a united vision of the future, state TV reported.
Lieutenant General Gaed Salah did not mention the unrest. Hours before Bouteflika's arrival, his ruling FLN party urged all sides to work together to end the crisis and promote national reconciliation, Ennahar TV said.
The 82-year-old president has rarely been seen in public since a stroke in 2013. Last April, he appeared in Algiers in a wheelchair.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ