Problem while accessing Windows 8 registry

Hi there,
I have been trying to modify my registry in order to create bin directory with JDK7 and I feel frustrated since the CMD won't recognize Java commands until the bin directory is created, how do I go about doing this, and why do JDK7 require the bin directory?
