Is it ok to delete old java updates?

I have 1 gb worth of old java updates in my programs. Can I delete everything up to the most recent and be ok, or will it mess up my java? Thanks.
3 answers 3