I need to open the Windows's virtual keyboard from my application, which will be deployed using Eclipse RCP on the windows 32 bit platform (i.e. win32 JRE).
Following the answers to the post open the Windows virtual keyboard in a Java program , the applications does so correctly on a 32 bit Windows OS, but refuses to work on a 64 bits Windows OS.
The solution I am using is the following ones:
// String sysroot = System.getenv("SystemRoot"); //$NON-NLS-1$
// Runtime.getRuntime().exec("cmd.exe /c "+sysroot + "\\system32\\osk.exe /n"); //$NON-NLS-1$ //$NON-NLS-2$
Runtime.getRuntime().exec("osk");
Is there a way to fix this without using a 64 bit deploy? (which I can't create, as long as I am using a library that does not support this environment).
Thanks