Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Program stopped working

Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

    Posts: 11445
    Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    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.
    roses are red, violets are blue. Some poems rhyme and some are a tiny ad:
    Thread Boost feature
      Bookmark Topic Watch Topic
    • New Topic