This DLL can technically be written in any languge (as they are DLLs), but the stubs for them are generated in C, so they should be written in C or C++. And no, Java can't create the DLLs. You will need a C/C++ compiler.
kunal vermaa wrote:But can we make dll in Delphi ..? and import it in a java application..?
If the Delphi-created DLL is a standard DLL, then I imagine that it can be used in a Java application, however, you still may (probably?) have to create a C or C++ app that uses the header file created by java and that has functions that wrap the functions in the DLL. The JNI tutorials will likely explain most of this to you.
I first found it when looking for a way to use JNI with Delphi after I had been given a Delphi library and needed to wrap that in Java. Both JavaToDRP and JNI.pas (the Delphi replacement for jni.h) can be found here.
That said, I haven't been able to get the AWT part working yet. But then again, I haven't tried that hard