Golden rigid necklaces from Java