0

In your answer

Writing a portable Java application using JOGL and Android OpenGL

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

Thank you very much

Community
  • 1
  • 1
smily
  • 1

1 Answers1

0

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
  • 698,415
  • 94
  • 811
  • 1,216