{"id":199,"date":"2008-01-20T12:40:41","date_gmt":"2008-01-20T12:40:41","guid":{"rendered":"https:\/\/kari.world.ikari.fi\/2008\/01\/20\/profiling-webstart-applications\/"},"modified":"2008-01-20T12:40:41","modified_gmt":"2008-01-20T12:40:41","slug":"profiling-webstart-applications","status":"publish","type":"post","link":"https:\/\/kari.world.ikari.fi\/?p=199","title":{"rendered":"Profiling Webstart applications"},"content":{"rendered":"<p>Profiling of the applications launched via webstart may sound difficult, but in reality it isn&#8217;t. What you need is to have approriate profiler\/debugger native libraries in LD_LIBRARY_PATH of the system (or equivalent), and then specifying necessary arguments for webstart (from command line)<\/p>\n<p>For example, using YourKit with Webstart:<br \/>\n[code]<br \/>\njavaws -J-agentlib:yjpagent=tracing http:\/\/example.com\/example.jnlp<br \/>\n[\/code]<\/p>\n<p>Same approach works as easily for remote debugging\/profiling in Eclipse, JProfiler, etc.<\/p>\n<p><b>Update: 5.6.2011<\/b><br \/>\nSadly Sun broke this around JDK 1.6.0_10, and since that neither debugging or profiling of Webstart has worked properly. Especially debugging of webstarted application it not working at all. Shame on you Sun (well, Oracle nowadays).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Profiling of the applications launched via webstart may sound difficult, but in reality it isn&#8217;t. What you need is to have approriate profiler\/debugger native libraries in LD_LIBRARY_PATH of the system (or equivalent), and then specifying necessary arguments for webstart (from command line) For example, using YourKit with Webstart: [code] javaws -J-agentlib:yjpagent=tracing http:\/\/example.com\/example.jnlp [\/code] Same approach&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-199","post","type-post","status-publish","format-standard","hentry","category-java"],"_links":{"self":[{"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=\/wp\/v2\/posts\/199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=199"}],"version-history":[{"count":0,"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=\/wp\/v2\/posts\/199\/revisions"}],"wp:attachment":[{"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}