Detecting JVM version, and prompting an install
Hello folks:
I'm a CRM administrator, and I know enough Java to be Dangerous. Our CRM currently uses a Java based client to initiate chats. The problem is there is a queue before hand, and if the customer has MS VM or an older version of JVM, then they get kicked out and prompted to install. I want to do this before they start waiting. Is there a quick bit of HTML or JS that I can use with PHP that will re-direct the customer based upon their JVM version?
# 1
When you say client, do you mean applet? If so how are you detecting the customers' java version currently? Is the app doing it?
IIRC you should be able to use the codebase attribute of the OBJECT tag so that the customer will be prompted to download an update if they have an older version than you specify. This should happen when the page is rendered. If you are already using this can you explain what you mean by "a queue"?
# 3
Basically the chat system works as follows:
Customer submits a request.
They are put into a holding pattern (queue).
When there is an available agent, the customer is pushed to a Java base chat applet. If they do not the appropriate version of Java installed, then they are kicked out and prompted to install Java. This means that the customer will have waited x minutes, and then when they're about to get help, they are told to install a program to use our chat program. Not very helpful!
Thus, I would like to run a check before they even submit their chat session. Ideally it would run a check, and either have a pop up or display a message advising the customer to install.