Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6955335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:43:23+00:00 2026-05-27T14:43:23+00:00

I am trying to deploy a JNLP for different users from my website. The

  • 0

I am trying to deploy a JNLP for different users from my website.
The user enters his username and I generate a JNLP with the specific jars for that user and give him a jnlp file with the proper configuration.

The problem if the user doesn’t have a JRE installed on his Machine(Windows/Mac/Ubuntu) he will cannot run the jnlp.

My main 2 Questions are:

  1. How to know if the JRE is installed on certain machine (I don’t care if a java plugin exist or not on the browser that the user is using) all what I need a JRE on the system to run the JNLP (on all OS’s)?

  2. How to install (if I knew that there is NO jre on the machine) any JRE and preferred to be v.1.6.* from my website (or to redirect to java.com site then to get back to my page)?

To take in consideration I already took a look on the following:

I took a look on the deployJava.js and I have integrated it with my website.
But it doesn’t work fine on all browsers/OS’s.

Were I used the versionCheck(“1.5+”) and isWebStartInstalled() to detect that the user has a jre installed on his machine but unfortunatly it failed to detect that on FF (upon ubunto OS) for Windows XP the FF, IE and Chrome it worked fine !!!

* So what I need from this is to know if the user have a JRE installed on his machine or not.
Reminder:I don’t care if the browser have a java plugin or not!

on Windows XP if I called installJRE(“1.6.0_29”) in JS it will behaves like the following:
Chrome it will redirect me to java and tell me to install 1.6.0_30 ! (Thats fine for me).
FF and IE will not redirect me anywhere and nothing happens.(it seems that the script try to use the the installed plugin on the browser to update it,but at the same time the jre in uninstalled from the machine but some how the IE and FF still see that there is a java PLUGIN !)

if I used installLatestJRE() it will work on IE but it will redirect me to install JRE v.1.7.0_2 which still not stable as I think. and it have a problems with my application. (My application works fine on JREs of v.1.6.* but have problems on v.1.7.*) and this is not a problem because if the user have a JRE I already have in the jnlp the required jre I use:

    <java version="1.6.*" href="http://java.sun.com/products/autodl/j2se" />

and this will install for me the latest 1.6.* JRE if it doesn’t exist.
on chrome it works fine and redirects me to install v.1.6.0.30.
on FF it will not work.
(FF version all over is 8)
I tried this on 3 diffrent machines and I have check the code many time but unfortunatly it didn’t work in a stable way on those diffrent machines and browsers.

BTW No one of the browsers tested redirected me back to my website (even they have in the query string returnPage=www.mywebsite.com ) I already read that on java documents but they said it will work some times but not on all browsers!

Sorry for this long explanation for the case but I hope to get a new solution except the ones I have tried.

P.S: I read on some question here where some body answered just give a link to your JNLP and a note below that we it is essential to have java intalled on you machine with a link to java sun. But I didn’t like this solution I prefer to decide when to redirect the user to go to java or not because the users are newbiews.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T14:43:24+00:00Added an answer on May 27, 2026 at 2:43 pm

    The short version: You can’t.

    The longer version: You are looking for launching with Java WebStart and explicitly mention that you are not interested in the browser plugin. This mean that you cannot do the checking inside the browser, since the Java WebStart that the user want to use on the machine may be completely uncorrelated with anything inside the browser.

    The only option available to you is to go the way the user would otherwise invoke a JNLP script. In other words provide a test JNLP file, and allow the user to launch it. Put instructions around the “CLICK HERE” link explaining why things may not work, and a link to http://java.com/en/download/installed.jsp to let Oracle help them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to deploy a Java applet on my website. I also need to
I am trying to deploy the sample-app war file that comes with PushSDK.But was
I'm trying to deploy an Applet with new Java JNLP specifications, but I always
I'm trying to deploy a MacRuby 0.10 app that has MacRuby embedded so that
I'm trying to deploy an EJB 3 EAR project to WebSphere 7. From RSA
I'm trying to deploy an app that has a dependency on uuid.h. During the
I am trying to deploy rails website on ec2 using capistrano, everything works flawlessly
I am trying to deploy an ear that contains an EJB jar. The jar
I'm trying to deploy a java web app which uses FreeTTS to generate mp3s.
I'm trying to deploy my ASP.NET MVC 2 Website for the first time on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.