A Java Drive By is a java applet. When it prompts the user with a message and the run button is clicked it downloads and runs your .exe file. You would first have to create either a rat or key-logger server to set the applet to download and execute. For a RAT server I would recommend Cybergate RAT. Download found here: http://website.cybergate-rat.org/mainpage/
and a tutorial on how to set it up here: http://www.hackforums.net/showthread.php?tid=222657
For a key-logger I recommend using Predator Pain logger although its not free, its a steal at 15$ for a month (which is all you need) and can be found
here: http://www.hackforums.net/showthread.php?tid=1535599