... I think it would be best to build a generic VC10 JAPI 2.0 DLL ...
Hello John
i won't teach you in any direction
but I'm a old coder and can give you a tip
in scope of C/C++ for Windows and Linux systems.
Normally I use an gcc environment for all my library projects
and this are a lot in the past for FreeBASIC, thinBasic, Basic4GL, PureBasic etc.
Only for my business I must used VisualStudio from time to time.
You can install code::blocks with mingw on windows
now for example OpenB3D create a static and a dynamic lib
add all *.c and *.cpp files to your new fresh project and rebuild the lib.
Now comes the tip install code::blocks on your Linux box also.
Open the windows OpenB3D project (may be mounted as folder or via copy in your home folder)
Select or add Linux as new target in your project and rebuild.
That's all and so easy.
There are many points why an gcc environment on Windows makes sense.
If you will share your VS lib's and dll's you can research your lib with an dependency walker
and you will see your VS libs needs some more VC 8/9/10/11 run time library's as you would except.
The same lib or dll build with gcc on windows used the RTL libs from OS (not VC).
This is why i never need an run time installer if I share my projects.
If you rebuild really large lib's IUP, ODE, True Axis, IrrLicht etc.
you will see the result of an GCC environment is often much smaller as from VS.
There are one point where VS is the first choice I mean ActiveX/Com project's
but this has nothing to do with cross compiling for Windows and Linux.
bla bla bla
Happy coding.
DJ