{{theTime}}

Search This Blog

Total Pageviews

How to determine 32bit JVM or 64bit JVM?

Sun has a system parameter to determine the bit 32/64.

sun.acrch.data.model=32 or
sun.acrch.data.model=64.

Try.  System. getProperty("sun.arch.data.model")

No comments:

Java Shutdown Hook

Runtime.getRuntime().addShutdownHook(new Thread(() -> {             System.out.println("Shutdown started");              //  Cl...