How to suppress "An application would like access to an out-of-date version of Java." prompt?
Hey All,
Our builds currently have JRE 1.6.0_07 and JRE 1.7.0_60 installed. One of the web applications is supposed to run with JRE 1.6.0_70.
When the app is launched, it prompts to check which version of Java do we want to use?
There are two radio buttons which read the following:
Choose the version of Java to run this application:
Radio1: Run with the latest version on your system (Recommended) \\ This option is automatically ticked.
Radio2: Allow this application to run with the requested version (1.6.0_07).
I need this prompt to be suppressed with the second radio button selected, forcing the older version (one required by the application) to be used.
Has anyone come across it and found a work around?
Is there anyway I could do it?
I already tried the JAVA_HOME variable thing, but it doesn't seem to work.
Neither capturing the changes does the trick.
I also tried the Java Deployment toolkit work around, but got stuck in the very first step, which is running the following command.
jar -cvsf.....
It says jar is not recognized as an internal/external command....
I am no developer, just a packager trying to do some automation.
I am kind of terribly stuck here with no hint as to how to get done with this. Please help!!!
Thanks in advance!!!
Answers (0)
Be the first to answer this question
If this is a web application, are you able to access the source code and change it? Fundamentally, that is what is required. - EdT 10 years ago
2. If machine specific file/registry(C:\ or HKLM) is created then we can implement this scenario in in package it self.
3. Else if user user specific file registry is created then can be handled using active setup.
4. If you are unable to find post configuration changes on system, go for AutoIT exe. write required logic to handle shortcut.
Implementation: (Use the created exe as a shortcut target)
check if any of above scenario helps to suppress this prompt. - akashrayban 10 years ago