Java experiments