java - How do I get my JRE to actually run in 32 bit mode? -
a library wanted use needed 32 bit .dll file.
this did not work, , did research , found solution switch 32 bit jre, because 64 bit jre not run 32 bit dll.
i downloaded x86 jdk. working in eclipse, pointed eclipse use new 32 bit java in preferences.
however, still same problem loading dll file.
when tests like:
system.getproperty("sun.arch.data.model");
or
system.getproperty("os.arch");
it looks somehow still running 64 bit version of java. change made, switching new jre in preferences, did not take somehow.
how java run in 32 bit mode?
ok, i've worked out.
i set eclipse use new jre in preferences, project still using old jre.
you can fix going "run configurations" file want run, , jre tab.
in menu clear still using old jre, , switch new one.
Comments
Post a Comment