aspose file tools*
The moose likes JNLP and Web Start and the fly likes Program stopped working 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 "Program stopped working " Watch "Program stopped working " New topic
Author

Program stopped working

Mich Robinson
Ranch Hand

Joined: Jun 28, 2009
Posts: 251
    
    1
I've had a couple of web start programs on the web and they've been running fine. Couldn't see why the logs showed poor usage last month so I went in to check them and found they no longer run. I don't think I've changed anything and normally I test things quite fully before releasing (obviously were all human though). The two pages that have the issues are a java arcade game and a java chess program. Other pages with applets on seem to run fine. The issues that show up are:

a) on the main web page next to the launch button it has some weird pop up saying "click here to activate the java deployment toolkit plugin". I have no idea what this is but it appears each time and looks ugly as hell. If I click it then the popup goes until next time I visit the page.

b) when I click the launch button it does the following:
  • downloads the jnlp
  • scans for virus
  • runs java 7
  • downloads the app
  • say unable to launch

  • The details are as follows:


    Any ideas where I should look?

    Mike

    Arcade : Alien Swarm
    Board : Chess - Checkers - Connect 4 - Othello
    Maneesh Godbole
    Saloon Keeper

    Joined: Jul 26, 2007
    Posts: 10519
        
        9

    Your jnlp does not have the main-class. Can you double check if your AlienSwarm.jar manifest file has it?
    Another way of testing is download the AlienSwarm.jar to your local drive and double click it. If it is packaged correctly with all the required attributes, it should launch the application.


    [How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Program stopped working