JNLP error


R

Roedy Green

I am getting an error "Application Blocked by Security Settings.
The Java Security Settings have prevented this application from
running. You may change this behaviour in the Java control panel


In Secure Execution Environment, I have everything ticked but the
last.

I am using a self-signed cert.

My manifest looks like this:

Manifest-Version: 1.0
Application-Name: Replicator
Permissions: full-permissions
Created-By: Jakarta Ant 1.9.0 (March 5 2013)
Main-Class: com.mindprod.replicator.Replicator

My JNLP looks like this:

<?xml version="1.0" encoding="utf-8"?>

<!-- Do not edit! last regenerated 2014-03-09 16:41 PDT by
ReplicatorSender -->
<jnlp spec="6.0" codebase="http://mindprod.com/replicator"
href="replicatorreceiverwebsite.jnlp" version="11.3">
<information>
<title>The Replicator 11.3 via website</title>

<vendor>Canadian Mind Products</vendor>
<homepage href="webstart/replicator.html" />

<description>Replicates files via website. Also keeps them up to
date efficiently.</description>
<description kind="short">Replicates files via
website.</description>
<description kind="one-line">Replicates files via
website.</description>
<description kind="tooltip">the Replicator</description>
<!-- relative to codebase, need copy in same dir as jar, and jnlp
file. -->
<icon href="replicator.icon64.png" width="64" height="64"
kind="default" />
<icon href="replicator.splash.png" width="128" height="128"
kind="splash" />
<!-- online only -->
<!-- create desktop shortcut to run the Replicator -->
<shortcut online="true">
<desktop />
<menu submenu="The Replicator" />
</shortcut>
</information>

<security>
<all-permissions />
</security>

<update check="always" policy="always" />

<resources>
<!-- requires 1.6+ -->
<!-- Oracle JVM -->
<java version="1.7.0_51"
href="http://java.sun.com/products/autodl/j2se" java-vm-args="-ea"
initial-heap-size="128m" max-heap-size="512m" />
<java version="1.7+"
href="http://java.sun.com/products/autodl/j2se" java-vm-args="-ea"
initial-heap-size="128m" max-heap-size="512m" />
<java version="1.6.0_43"
href="http://java.sun.com/products/autodl/j2se" java-vm-args="-ea"
initial-heap-size="128m" max-heap-size="512m" />
<java version="1.6+"
href="http://java.sun.com/products/autodl/j2se" java-vm-args="-ea"
initial-heap-size="128m" max-heap-size="512m" />
<!-- any vendor -->
<java version="1.7+" java-vm-args="-ea"
initial-heap-size="128m" max-heap-size="512m" />
<java version="1.6+" java-vm-args="-ea"
initial-heap-size="128m" max-heap-size="512m" />

<!-- application code, download jar before we start. -->
<jar href="replicator.jar" main="true" download="eager"
size="98304" />

<!-- set -D system properties -->
<property name="VIA" value="website" />
<property name="PROJECT_NAME" value="Mindprod.com" />
<property name="UNIQUE_PROJECT_NAME"
value="com.mindprod.replicator" />
<property name="SUGGESTED_RECEIVER_BASE_DIR" value="C:\mindprod"
/>
<property name="SUGGESTED_RECEIVER_ZIP_STAGING_DIR"
value="C:\mpstaging" />
<property name="WEBSITE_ZIP_URL"
value="http://mindprod.com/replicator" />
<property name="SUGGESTED_LAN_ZIP_URL"
value="http://mindprod.com/replicator" />
<property name="KEEP_ZIPS" value="false" />
<property name="UNPACK_ZIPS" value="true" />
<property name="AUTHENTICATION" value="none" />
<property name="DEBUGGING" value="false" />
</resources>

<!-- application class with main method -->
<application-desc main-class="com.mindprod.replicator.Replicator" />

</jnlp>
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top