Java Execute Function From Zeros