waterson79 wrote: > how to call a windows dll in linux by java program! Simple answer: you can't. A bit longer answer: you should never do such a stupid thing in the first place! A long answer: - You'll need an entire Wine to call even a single dll. Which means you'll have to run entire java under Wine. - What an idiot uses java (a cross-platform language/environment) to call specific system libraries? Either do it the right way (with an extra class that wraps calls to a library, which in turn calls native libraries). Or throw away java and use something more appropriate like c/c++.