Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging Java Web Start



I'm trying to debug my Java Web Start (JWS) app. I've found JWS's console doesn't run until my app has been downloaded; in this case my app doesn't download (JWS cache is empty). Obviously something's wrong but I cannot see any indications what it may be. I get a "Starting Application" dialog-box with a flashing progress bar.

In frustration I tried using a 3rd party tool, called netx, which provided more debug info; but I'd like more. Then I remembered that, sometimes, Apple's applications contain a command-line component packaged as a .app E.g. Apple's PackageMaker.

I opened Java Web Start and looked at the executable file:/Applications/Utilities/Java/Java Web Start.app/Contents/MacOS/Java Web Start and noticed the text below. Does anyone know if there is any useful debugging info available? I tried creating a "deployment.properties.jpda" file with a 'deployment.javaws.jre.debug.options=<debugging-directive>' but without any results yet.

Rob


-----------------8<----------------------------

Syntax and semantics for  -jpda  option to Java Web Start's command-line
launcher:

   -jpda:help                    --   Print this message
   -jpda:<debugging-directive>   --   Attempt debugging (see below)
   -jpda:    (or  -jpda)         --   Disable debugging

Only these three forms are valid. The 3rd form is a special case of the 2nd
form; the debugging directive is void, hence debugging is disabled.


----




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.