File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes Detecting system config (OS, memory, etc) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Reply Bookmark "Detecting system config (OS, memory, etc)" Watch "Detecting system config (OS, memory, etc)" New topic
Author

Detecting system config (OS, memory, etc)

John Lindwall
Ranch Hand

Joined: May 29, 2002
Posts: 31
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
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


1. Have fun @ http://faq.javaranch.com/java/JavaRaq
2. Looking for simple infix2postfix conversion and postfix evaluation package? Click here
John Lindwall
Ranch Hand

Joined: May 29, 2002
Posts: 31
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
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)
 
Threads others viewed
Why won't this .class run on my PC?
Cookie
Java Speech API NullPointers problem
Native C code running out of Virtual Address Space ,JNI memory allocation.
Maximum JVM Settings?
MyEclipse, The Clear Choice