Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JNLP splash screen change not working

1016274Aug 14 2015 — edited Aug 14 2015

I am trying to change the default splash screen when i am calling a .jar thru JWS Below are the details of the jnlp file. Other features are working as expected. I have placed the pic.gif file in ROOT folder of Apache tomact

JaNeLA Report - version 11.05.17

Report for http://localhost:8080/WithoutManifest.jnlp

XML encoding not known, but declared as UTF-8

Optimize this application for off-line use by adding the flag.

Downloads can be optimized by specifying a resource size for 'WithoutManifest.jar'.

The resource download at WithoutManifest.jar can be optimized by removing the (default) value of download='eager'.

The resource download at WithoutManifest.jar can be optimized by removing the (default) value of main='false'.

It might be possible to optimize the start-up of the app. by specifying download='lazy' for the WithoutManifest.jar resource.

Lazy downloads might not work as expected for WithoutManifest.jar unless the download 'part' is specified.

Downloads can be optimized by specifying a resource size for 'pic.gif'. Icon loading & use can be optimized by specifying the width and height for pic.gif

The HREF of '[http://localhost:8080/](http://localhost:8080/)' could be optimized to ''.

jnlp FILE

|

| <?xml version="1.0" encoding="UTF-8"?> |
| | <jnlp spec="1.0+" codebase="http://localhost:8080/" href="WithoutManifest.jnlp"> |
| | <information> |
| | <title>TITLE</title> |
| | <vendor>Pallab</vendor> |
| | <homepage href="http://localhost:8080/" /> |
| | <icon kind="splash" href="pic.gif"/> |
| | </information> |
| | <security> |
| | <all-permissions/> |
| | </security> |
| | <resources> |
| | <j2se version="1.6+" /> |
| | <jar href="WithoutManifest.jar" /> |
| | </resources> |
| | <application-desc main-class="WithoutManifest" /> |
| | </jnlp> |

Apache version -8.0.23 Java version - 1.8.0_40-b26

I am only seeing below Pop-up before my actual application.

JAVA_SNAP.JPG

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 11 2015
Added on Aug 14 2015
0 comments
889 views