Uncaught System Error:org/apache/jaxme/JMElement in JNLP

Share

Wanting to implement a .jnlp jar for an application i run into this error that popped out in an error dialog “Uncaught System Error:org/apache/jaxme/JMElement” and after this, that project was blocked.

Tools: Eclipse platform,  ANT

The solution was more than simple, but did not “see it” right there and then.

When creating a .jnlp jar you have to check to have covered these steps:

1. all jars are already signed.(this is not discussed here)

2. specify the codebase: <jnlp spec="1.0+" codebase="//location dummy.jnlp" href="dummy.jnlp">

3. set permission level:

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


4. declare resourses(jars)

<resources>
<j2se version="1.5+"/>
<jar href="libs/commons-beanutils-1.5.jar" download="eager"/>


<jar href="dist/libs/forms-1.0.4.jar" download="eager"/>

//...

</resources>

5. declare the main class of your project:

<application-desc main-class="ro.java...">
...
</application-desc>


Running a final state of this type of file .jnlp should normally work, but if it doesn’t and you receive the error from above, then make sure you declare all the jars used in your application! I know it sounds a newbie mistake, but having a lot of jars can make you skip one in the declaration :). That should do the trick.

Good luck.

Finally, there’s another very important peculiarity of what does Cialis that brings it so high above its alternatives. It is the only med that is available in two versions – one intended for use on as-needed basis and one intended for daily use. As you might know, Viagra and Levitra only come in the latter of these two forms and should be consumed shortly before expected sexual activity to ensure best effect. Daily Cialis, in its turn, contains low doses of Tadalafil, which allows to build its concentration up in your system gradually over time and maintain it on acceptable levels, which, consequently, makes it possible for you to enjoy sex at any moment without having to time it.

4 thoughts on “Uncaught System Error:org/apache/jaxme/JMElement in JNLP”
  • Great site. A lot of useful information here. I’m sending it to some friends!

    June 16, 2010 at 7:52 am
  • […] Uncaught System Error rg/apache/jaxme/JMElement in JNLP | Ropardo … […]

    June 18, 2010 at 10:02 pm
  • skutery says:

    Good and in depth article but full of useful information

    June 20, 2010 at 8:16 pm
  • interest says:

    We just couldn’t leave your website before saying that we genuinely enjoyed the high quality information you offer for your visitors… Would be back frequently to check up on new stuff you post!

    September 21, 2010 at 6:10 am

Comments are closed.

By continuing to use the site, you agree to the use of cookies. More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close