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 Program stopped working 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 "Program stopped working " Watch "Program stopped working " New topic
Author

Program stopped working

Mich Robinson
Ranch Hand

Joined: Jun 28, 2009
Posts: 250
    
    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: 9990
        
        7

    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
     
    Similar Threads
    Questions on final polish
    My jnlp didn't work with multipl jars in the ressource section
    how to store state?
    NullPointerException while launching an application from JNLP with Java 64x 1.7.0_06+
    FileNotFoundException - Access Denied