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 8852925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T13:31:20+00:00 2026-06-14T13:31:20+00:00

In my JNLP file, I’m using the following to make sure Java 7 users

  • 0

In my JNLP file, I’m using the following to make sure Java 7 users will run my application under Java 6:

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

It works, and will even prompt to install Java 6 if necessary. However, when Java 6 is installed, it is version 1.6.0.0 (!) which obviously is a security risk.

How to get JWS to download the latest version of Java 6 (or any version that’s specified in the j2se tag)?

  • 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-06-14T13:31:22+00:00Added an answer on June 14, 2026 at 1:31 pm

    From the official documentation (emphasis mine):

    The version attribute refers, by default, to a platform version (specification version) of the Java Platform Standard Edition. […]
    Exact product versions (implementation versions) may also be specified by including the href attribute.

    So I guess that removing the href part should do what you expect:

    <j2se version="1.6">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

if the top of your JSP reads <%@ page contentType=application/x-java-jnlp-file%> <?xml version=1.0 encoding=UTF-8?> How
We are using WebStart JNLP file to create a shortcut on our users` desktop.
I need to replace some text in a JNLP file using a DOS batch
Try as I might, I can't get a JNLP file to run locally (via
in a java webstart file (jnlp) you can specify the nativelib tag to load
I'm trying to run a java (jnlp) applet from bash and get the PID
I've never done a Java Web start application before. I wrote my app's JNLP
We have a spring-enabled java desktop application started through Java Web Start. The JNLP
Google Chrome does not launch JNLP file automatically, so I recommend for our users
is it possible to invoke .jnlp file from java code? Example: Process p =

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.