Is the JHD12864E compatible with an Arduino board?
There is a link for Mega2560. Check this link below which has the schematic and sample program. Arduino Leonardo board is not supported since it has less memory space.

http://playground.arduino.cc/Code/GLCDks0108

Also a google projects page

http://code.google.com/p/glcd-arduino/