Hi,
can anyone explain me how to enable webstart logging and where the logfiles of webstart are stored?
I can find anything but my application crashes and does not log (as far as I can say)…
Hi,
can anyone explain me how to enable webstart logging and where the logfiles of webstart are stored?
I can find anything but my application crashes and does not log (as far as I can say)…
Its usually in your user.home location.
If your username is “Boom”, and your using windows, then its most probably under:
C:/Documents and Settings/Boom
If your using linux, then as far as a I remeber, its under:
/usr/Boom
Im not sure about the linux one tho…
DP
I’ve looked there but I cannot find any logfile there…
How is it named? I thought it should be something like webstart.log.
But thanks anyway.
On windows it’s in
:\Documents and Settings<user name>\Application Data\Sun\Java\Deployment
I don’t remember where it is on u/linux, but I think it’s something like ~/.java or ~/.javaws
Run the javaws app - its either in java/jre/javaws or in java/bin depending upon which version you installed (and whether you named your java directory “java” or something else)
It then has an option for you to enable logging, and prompts you for where you’d like to save it to - you pick the filename
I found the option to enable logging, but there is nowhere a possibility to pick the filename.
I googled for that problem and this options is not to be found where it should be. Maybe in the latest webstart there isnt that option to pick the filename anymore?
In short:
Enable logging: yes
Pick a filename: no / where?
i’m currently struggling with the same problem. is there still nobody who knows where to define (or find) the webstart logfile location?
i know this worked with older java versions …
You may well wonder: “Some moron at sun thought it wise to remove it?!?” (because that’s what happened - this feature was removed in java 1.5!)
The official answer is that they merged the code for the inferior java plugin with the superior java webstart controls, and decided not to support the features of the latter any more.
If you search this forum for posts by me about webstart logging, I did reply to a thread like this with a copy / paste of the official docs on where the files can now be found.
However, be warned that the last version of 1.5.0x I used, this was broken on some platforms (IIRC OS X and maybe also sometimes windows?) and sometimes the files didnt write at all. I was particularly annoyed, IIRC, that they had managed to downgrade AND break such an important feature :(. I’m sure they’ve fixed that by now!
I am using javaws.exe from Version 1.5.0 (build 1.5.0_05-b05);
Under advanced tab there is option to enable logging, tracing, … what ever you need.