Java experimental codes