Hi Shong,
This is exactly what we are doing. We have now tried using the ?vm option in the call to Talend-win32-x86.exe as well ? we can happily compile with this pointing to the jre1.6.0_17 ? the trouble is, as explained above, this builds uses a class files with a major version of 49, not 50, so we are compiling with java 1.5.
Again as I?ve said above, this is not suprising ? javac, the compiler, is not part of jre, it is part of jdk.
We need, and are asking you, what is the mechanism to ensure that we use the java compiler that we want to ? our build machines need to have different compilers (at different versions) for different products ? we do not just build Talend, and we need to be able to specify which compiler to use ? that means we need either a variable or registry setting to ensure that we are compiling with the correct compiler.
Regards
Dave