Can anyone give any idea of how to load a C/C++ file with java.
Isn't the loading of c/c++ source would be possible with reflection api?
both can be used in conjunction.
What exactly do you mean by "load a C/C++ file with Java"? If you mean load the code into memory to execute within the JVM, you're going to have to do that via JNI directly since there are several other operations which need to occur for a native executable - like linking to dynamic libraries - and C++ structures (like classes, enums, structs, pointers) aren't precisely equivalent to Java's so you would need the JNI interface to negotiate on your behalf.
Can anyone give any idea of how to load a C/C++ file with java.Is it possible with any of java class loaders or through reflection or introspection.