This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
First post here so I hope I pull this off correctly. I have been using these forums a bit to help me develop the JNLP deployment of an inhouse application. Basically I have a JAR file, and am using a servlet via tomcat to dynamically generate my JNLP file (since I have params passed to the jar) and push to the user's browser. I then have the jnlp mime type set via tomcat so that when the servlet flushes the stream, javaws starts up and processes the application. The problem I have is that I am telling the jnlp file to use java version 1.5+, however, there are some users here that have Java 1.4 installed locally. We have Java 1.5 installed on our server, and most of our applications use a "driver" that sets up the java home to that directory. Is there a way that I can tell JNLP to use that installation of the JRE? The reason I dont want to use the 'autoupdate' function is because not all users have the proper permissions to install applications on their system. Here is the code I use in my servlet:
And the JNLP file that it generates when called with params