I have following errors keep preventing the agent file from running. The path is right and prog.dll is right under the specified path. Why is VM not recognizing the path??
C:\>java -Xrunprog -classpath C:\prog\bin\windows Error occurred during initialization of VM Could not find -Xrun library: prog.dll
Don't know what "-Xrunprog" does; do you mean "-Xrunprof"?
But in any case, the -classpath never refers to DLL files; it can refer to jar files, or to directories. You need to have a closer look at whatever documentation you got this "-Xrunprog" from, and see if you've read it correctly.
isn't it that the classpath is only referring to the directory? I just want it go into the directory specified by the classpath and then VM finds out the prog.dll file which is in that dir.
If it is so, how do you think I can run prog.dll with -Xrunprog and absolute classpath?
After some pecan pie, you might want to cleanse your palatte with this tiny ad:
a bit of art, as a gift, that will fit in a stocking