I want to call c++ code from java code by using JavaCPP.
I am trying to run there own example of LegacyLibrary on http://code.google.com/p/javacpp/
when I try to compile code with following command mentioned at site only
javac -cp javacpp.jar:. LegacyLibrary.java
I get the following exception on console

I don’t under where I am wrong. I am specifying the path of jar which contains com.google.javacpp.* classes.
You’re on Windows, so you should be using
;, not:as a separator for the elements in your classpath.Try with:
(Assuming that jar file is indeed in your current directory.)