Instal JRE instead of JDK which are generally larger in size. If you care for space install any older JRE verision which would help you in minimizing the storage space. Or else you can install latest [JRE 1.8] http://filehippo.com/en/download_jre_32/changelog/ Will take around 44 MB.Do look for your windows bit architecture if it is 32 bit or 64.
Hope this helps.Please accept the answer if it do.
Since i do not have enough reputation to post comment.I am posting it as answer.