Question

The JNLP specification allows for tag elements to be specified per the system's OS and architecutre.

How do I find out what Java Webstart thinks is my computer's OS and architecture? Is there a way to programmatically view or extract this value somehow? Thanks.

Was it helpful?

Solution

You can use System.getProperty("os.name")

for the OS and

System.getProperty("os.arch")

for the architecture, although this will need to be in the web start app itself.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top