Is there any simple way to collect OS version information from a Java Web Start application? To help us troubleshoot end-user issues we'd like to log the user's OS version (for us, a flavor of windows) including service pack info, build #, etc. The more detail the better. It would also be nice to get the processor type and speed, memory size, etc. Thanks!
Maulin Vasavada
Ranch Hand
Joined: Nov 04, 2001
Posts: 1863
posted
0
hi John is there any simple way
well, i dont think so. if u really want to get all information about a machine which seems running "windows" in your case then u can probably better look for a java product communicating with the system to get such information OR u could write a JNI program to get information via C/C++ and pass to the java program but just using simple java i don't think we can get all of that information... tho simple information can be obtained via using System.getProperties() like,
anybody else? also, i dont think this is related with Java Web Start. its just a regular java application. the only thing is, if u wanted to use some System Properties in the manner i have in above code then u'd have to sign the jar file for the application i believe... regards maulin
Thanks for the reply. I felt this was relevant to Java Web Start in case there is some special JAWS API that I overlooked that might provide what I need. The system props are not detailed enough for my needs. I'm starting to fear that I need to go the JNI route... Thanks!
Garandi Garandi
Ranch Hand
Joined: Jan 07, 2003
Posts: 192
posted
0
John, I am really interested to know how you might do this, if you get a solution, please post it. Thank you in advance Garandi
subject: Detecting system config (OS, memory, etc)