Get the latest windows installer from MS - you must also uninstall the old java version first - but you haven't said what versions they are, or any other thing about your system as requested - so I cant be more specific -sorry!
Peter