As vitamin set Winelib is not a magical library against which native libraries can link. Wine needs a lot of magic before it can run (registry, filesystem, kernel) which is for a part done by e.g. wineserver. A simple way would be to install a win32 jvm and run the app from there. A second way would be to write a winelib bridge app which communicates with your real app using e.g. unix sockets (from within winelib code you can make native linux calls).