From: Quanah Gibson-M. <qu...@zi...> - 2011-07-07 19:42:08
|
--On Thursday, July 07, 2011 12:28 PM -0700 Yuji YAMANO <Yam...@og...> wrote: > Quanah, > > Could you run the following code on the KVM? > > import os > print os._native_posix > print os._posix_impl > > from java.lang import System > print System.getProperty("os.name"); Non working system (KVM): Jython 2.5.2 (Release_2_5_2:7206, Mar 2 2011, 23:12:06) [Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_25 Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> >>> print os._native_posix False >>> print os._posix_impl org.python.posix.LazyPOSIX@4a005364 >>> from java.lang import System >>> print System.getProperty("os.name"); Linux Working system (ESX): Jython 2.5.2 (Release_2_5_2:7206, Mar 2 2011, 23:12:06) [Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_26 Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> print os._native_posix True >>> print os._posix_impl org.python.posix.LazyPOSIX@4c9fd062 >>> from java.lang import System >>> print System.getProperty("os.name"); Linux So for the working one, I see it says it is using native posix. For the non-working one, I see it is not using native posix. No clue why there is a difference. :/ --Quanah -- Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration |