Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Server Installed JRE For JNLP

 
Paimon Soror
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic