Added files for building Java wrappers on windows

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Get R from CP state class

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Merge branch 'master' into unitfied

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>