简体   繁体   中英

portable java application

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM