org.openide.util.Utilities should recognize Win64. OS specific code is necessary when loading native dll on Windows.
adding dependency to demostrate there is a use case. Obviously a workaround exists.
Another example where we query if we run on 32 or 64 bit is -
extbrowser/src/org/netbeans/modules/extbrowser/NbDdeBrowserImpl.java. The same usecase.
What are you suggesting Martin? Method like 'boolean Utilities.is64bit()'? Note that Solaris has 64-bit JVM too.
it might be a solution.