aspose file tools*
The moose likes JNLP and Web Start and the fly likes Using Server Installed JRE For JNLP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Using Server Installed JRE For JNLP" Watch "Using Server Installed JRE For JNLP" New topic
Author

Using Server Installed JRE For JNLP

Paimon Soror
Greenhorn

Joined: Mar 25, 2010
Posts: 1
Hello All;

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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using Server Installed JRE For JNLP