If you can install it on any other machine then this solution will help you.
Install it on another machine.
Bring the jdk folder on your machine and set system and classpath variable to the path where you have copied the jdk folder. You should be able to run your programs.