Problem on installing Android usb driver in windows 8 64bit
Reason: Device not supported in usb driver provided by Android SDK
Solution: Find from Device vendor for signed driver or
find the device info and add it into usb driver file provided by Android SDK
example case for HTC Desire z:
1. open <androidSDK path>\sdk\extras\google\usb_driver\android_winusb.inf
– add lines:
;Desire Z
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C91
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C91&MI_01
under section [Google.NTamd64] if using 64bit or [Google.NTx86] if using 32bit
2. shutdown /r /o
– pick reboot with troubleshooting with advance option- startup setting
– when boot up, choose option 7 i.e. disable signed check
– open windows explorer, browse to <androidSDK path>\sdk\extras\google\usb_driver\ , right click on ‘android_winusb.inf’and click ‘install’
– connect android device via usb, and run “adb.exe devices” to confirm it’s detected.
3. restart OS back to normal mode.
integrated weblogic cant create domain in Jdeveloper 11g release 2
platform: windows 8 64bit
jdk version: jdk6_34
Log:
wlst >
wlst > Failed to get environment, environ will be empty: (0, ‘Failed to execute command ([\’sh\’, \’-c\’, \’env\’]): java.io.IOException: Cannot run program “sh”: CreateProcess error=2, The system cannot find the file specified’)
wlst > Error: ADRS_DOMAIN_PASSWORD environment variable not set.
Reason: weblogic script wrongly identify OS platform, and use unix script which causing the problem.
Solution: patch jython-modules.jar in weblogic @ Middleware\wlserver_10.3\common\wlst\modules
step:
1. extract the jar
2. add new OS name at line 139 of file: javashell.py inside [lib]
eg. _osTypeMap = (
( “nt”, ( ‘nt’, ‘Windows NT’, ‘Windows NT 4.0’, ‘WindowsNT’,
‘Windows 2000’, ‘Windows 2003’, ‘Windows XP’, ‘Windows CE’,
‘Windows Vista’, ‘Windows Server 2008’, ‘Windows 7’, ‘Windows 8’, ‘Windows_NT’ )),
reference :
http://www.oracle.com/technetwork/developer-tools/jdev/knownissues-097654.html#dep1
http://unversioned.blogspot.com/2012/12/jdevelopers-integrated-weblogic-on.html