tags:

views:

27

answers:

1

In your answer

http://stackoverflow.com/questions/1617524/writing-a-portable-java-application-using-jogl-and-android-opengl/1627609#1627609

can you please tell me how to automatically work out which platform you are running on.

Thank you very much

A: 

The normal way that a Java application finds out what platform it is running on is to look at the system Properties. The javadoc for System.getProperties() lists the standard properties that a JVM should set.

Stephen C