简体   繁体   中英

Can you check whether your OS and java runtime are 32-bit or 64-bit from within your program?

I was told there is a System Environment Property File i could check, however, it hasn't yielded any definite results so far.

Basically I need to see what version of the OS and Java i'm running so I can copy the correct DLLs to the run directory. As always, a better solution is appreciated.

JNLP - Java Web Start - allows for specifying DLL's and shared libraries per architecture. This allows you to do centralized distribution with a local icon for the users to click.

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