1 Replies - 547 Views - Last Post: 06 October 2012 - 08:44 AM Rate Topic: -----

#1 axnjxn  Icon User is offline

  • D.I.C Head

Reputation: 14
  • View blog
  • Posts: 144
  • Joined: 04-February 12

Java JNLP File Error shows code that isn't in my jnlp file

Posted 06 October 2012 - 08:13 AM

Hello, everyone. I have been wrestling with JNLP for a couple hours now and I can't identify the problem. I created my JNLP file like this:

<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for BouncingBall Application -->
<jnlp
  spec="1.0+"
  codebase="my url goes here"
  href="bouncingball.jnlp">
  <information>
    <title>Bouncing Ball (Exercise 5.2)</title>
    <vendor>CS602</vendor>
    <description>Bouncing Ball with JavaDocs</description>
  </information>
  <security>
      <all-permissions/>
  </security>
  <resources>
    <j2se version="1.6+" />
    <jar href="BouncingBall.jar"/>
  </resources>
  <application-desc main-class="BouncingBall"/>
</jnlp> 


(please note that my codebase has a valid and correct URL in my code, I just removed it for posting)

Please notice the <resources> tag and that it is closed properly with a </resources> closing tag.

The Application Error that is being triggered says:
No application resources are specified for this platform. Please, contact the vendor of the application to make sure that this is a supported platform

But I've clearly defined the resources.

Furthermore, the code that is shown in the "Launch File" tab of the Error information window shows my <resources> tag is closed with a </information> tag. So I checked my code. It isn't like that in my code. Nonetheless, I renamed the jnlp file and SAVE AS to make sure that the jnlp file I'm using closes the <resources> tag properly. I still receive the same error message.

Why is my </resources> tag being changed to </information>? Is it actually being changed or is this a glitch in the Error window? Does this error have to do with something else entirely? Help... thank you in advance!

This post has been edited by axnjxn: 06 October 2012 - 08:14 AM


Is This A Good Question/Topic? 0
  • +

Replies To: Java JNLP File Error shows code that isn't in my jnlp file

#2 axnjxn  Icon User is offline

  • D.I.C Head

Reputation: 14
  • View blog
  • Posts: 144
  • Joined: 04-February 12

Re: Java JNLP File Error shows code that isn't in my jnlp file

Posted 06 October 2012 - 08:44 AM

Nothing? Should this be in the Advanced forum?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1