I have been a very infrequent visitor to this forum, but it has always helped me find my answers. I hope I am posting my question in the right section. So here it goes..
My system is running Win XP Pro, IE8 and Java 6 update 20 as default java. I have an an application which runs only on java 1.5. Everytime I launch this application it gives me a warning that, this application runs on an earlier version of java and gives me an option to "Run" or "Cancel". If I cancel, the application wont run at all. Is there any way of supressing this warning message?
I cannot make any changes to the app itself, but I can change any settings in the explorer or the java package installed on my system.
I appriciate the time it takes to send your responses.
There should not be any problem in running java 5 application in java 6 as most of the product including java is backward compatible.
There are a few things you should do:
1) Try to find out what language feature will be causing problems if you run it in java 6.
2) If you should run it using java 5 only then install jre 5 on your system and update your JAVA_HOME system path to use java 5. Then run the application you will not get any warning.
I tried that way but it didn't work.
Here is my situation,
a. My application needs 1.5_06 and my default is 1.6_20.
b. Application launches with warnings, if I check the "Enable next generation java plugin" in the java control panel but I am not able to supress the warning.
c. If I uncheck the "Enable next generation java plugin" option, my application is giving fatal exception ( I suppose it tries to use the latest java on the workstation which is 1.6 and fails)
Is there any way to install the the plugin for java 5 application separately? so that my app doesnt fail and doesnt give any warning?
It is an in-house app. The development team says it works with java 5 only. So if I uninstall ver 6, it works like a charm but I am in no position to do that as there are other critical apps in the environment which use java 6 update 20 as default.
Thanks, Prem. My app is browser based. It launches an applet.
I have both on 1.5 and 1.6 installed on my workstation but the 1.6 java package forces the use of latest Java Plugin which is resulting in the warning.
Apperently the solution is a registry fix that allows the use of same version plugin as JRE, so no more warning pop-ups. The "Next generation plugin" does not need to be checked.
I will test this solution and update everybody with the results. Thank you all for your contribution.
Studying for SCJP 6
The overall mission is to change the world. When you've done that, then you can read this tiny ad: