GeeCON Prague 2014*
The moose likes JNLP and Web Start and the fly likes Error is coming while launching the application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Error is coming while launching the application" Watch "Error is coming while launching the application" New topic
Author

Error is coming while launching the application

aryan Sharma
Greenhorn

Joined: Oct 10, 2005
Posts: 27
hi guys..i am getting an exception while launching my application. i am trying to launch a swing application. It gives the following error...


An error occurred while launching/running the application.

Title: Test Demo Application
Vendor: Test Software inc.
Category: Unexpected Error

Unexpected exception: java.lang.Exception

My launch file (JNLP file ) is as follows

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

<!-- JNLP File for SwingSet2 Demo Application -->

<jnlp

spec="1.0+"

codebase="http://localhost:8080/base/test"

href="TestJavaWebStart.jnlp">

<information>

<title>Test Demo Application</title>

<vendor>Test Software inc.</vendor>

<description kind="short">A demo of the capabilities of the Swing Graphical User Interface.</description>

<offline-allowed/>

</information>

<security>

<all-permissions/>

</security>

<resources>

<j2se version="1.3"/>

<jar href="test.jar"/>

</resources>

<application-desc main-class="com.test.main.testdownload"/>

</jnlp>


can someone tell me what exactly is the problem
Jared Cope
Ranch Hand

Joined: Aug 18, 2004
Posts: 243
Hi,

Can you post a little more info? There are several tabs in the webstart error dialog -- one has a stack trace which will be useful to explain the exception further.

Cheers, jared.


SCJP 1.4 91%, SCJP 1.5 88%, SCJD B&S
 
GeeCON Prague 2014
 
subject: Error is coming while launching the application