Win a copy of TDD for a Shopping Website LiveProject this week in the Testing 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
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Program stopped working

 
Ranch Hand
Posts: 279
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?

    Mike
     
    Bartender
    Posts: 11497
    19
    Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • 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.
     
    Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
    Free, earth friendly heat - from the CodeRanch trailboss
    https://www.kickstarter.com/projects/paulwheaton/free-heat
    reply
      Bookmark Topic Watch Topic
    • New Topic