Hi,
I am thinking for making use of JAVA_HOME environment variable when calling the java command. However, if it doesn't exists just use java command like before. See attachment for the sample. Also, you user has the option to override the JAVA_HOME if needed. Using the environment variable this way can simplify choosing the correct java command for projectlibre.
Sample JAVA_HOME override in the attach batch file can be like this:
rem ----------------------------------------------------------------------------------------------------
rem Set the JAVA_HOME below to the 32-bit version of Java, if projectlibre is not working as expected.
set JAVA_HOME=C:\Progra~2\Java\jdk1.8.0_05
rem ----------------------------------------------------------------------------------------------------
I hope you can notify me, if you consider this or you have any questions.
Thanks,
Ronaldo Webb