Win a copy of Java Challengers this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

Error is coming while launching the application

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic