This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error is coming while launching the application
 
Similar Threads
Please Help me Out.....Where I am going Wrong
Problem launching app through web-server
Launch Exception encountered in Java Web Start
JNLP : Launch File Error - Could not find main-class
nothing is displayed after the application is loaded