>I want to call Java API from VFP. Is it possible? Thanks in Advance
VFP supports a C-style DLL interface and COM; if your Java publishes either type of interface, VFP can work with it, otherwise, no, at least not simply.
You can run Jscript through the Wscript or CScript engine as external applications, or as COM components when compiled with the Script compiler and registered on the system. JScript offers run-time evaluation and execution services. A number of Java compilers offer the option of creating COM components, and some allow the creation of C-style DLLs. VFP can't directly call the Java engine AFAIK. You might want to start at
http://www.microsoft.com/java/resource/vm.htm and wander around from there; I suspect that you could construct COM components or JNI/RNI services which could be used to leverage the VM from inside VFP, but I have no idea what would be involved.