Failed to convert path to a short DOS path: C:\Windows\system32\java.exe的解决
来源:互联网 发布:华讯网络是国企么 编辑:程序博客网 时间:2024/05/17 04:26
今天想把eclipse的android开发环境升级下,改用4.0的sdk,下载了个android-sdk_r21-windows.zip后,再运行里面的SDK manager,之后在eclipse中居然不能运行SDK manager了,提示是Failed to convert path to a short DOS path: C:\Windows\system32\java.exe,网上查阅了下,似乎是用64位系统的原因,参考别人的办法,找到SDK目录下的find_java.bat文件夹,修改下列两行,去掉-s参数
for /f %%a in ('%~dps0\find_java.exe -s') do set java_exe=%%a
for /f %%a in ('%~dps0\find_java.exe -s -w') do set javaw_exe=%%a
变成
for /f %%a in ('%~dps0\find_java.exe') do set java_exe=%%a
for /f %%a in ('%~dps0\find_java.exe -w') do set javaw_exe=%%a
就OK了。记录一下,提醒自己
- Failed to convert path to a short DOS path: C:\Windows\system32\java.exe的解决
- Android开发-Failed to convert path to a short DOS path: C:\Windows\system32\java.exe
- 无法运行SDK manager,提示Failed to convert path to a short DOS path: C:\Windows\system32\java.exe的解决办法!
- [Android] "Failed to find Java version for 'C:\Windows\system32\java.exe"问题的解决方法
- 3、安装Android SDK installer_r20.0.3-windows.exe出现Failed to find Java version for 'C:\Windows\system32\
- 解决PKIX path building failed的问题unable to find valid certification path to requested target
- c# Relative Path convert to Absolute Path
- 【Silverlight】Convert Text to Path
- windows hadoop HDFS Failed to set permissions of path
- failed to determine path to aas directory
- Convert short to byte[] in Java
- 异常eclipse Hadoop Failed to set permissions of path的解决
- hadoop下运行mapreduce程序Failed to set permissions of path:的解决
- Hadoop 出现 Failed to set permissions of path 的原因
- How to add a path to matlab search path permanently
- hadoop Failed to set permissions of path:
- Hadoop Failed to set permissions of path
- Failed to set permissions of path:
- 几个优化mysql的小事
- 用Directshow进行电视卡的音视频信号采集和SDI信号输出
- 4. iPhone5的适配方案(游戏+应用) cocos2d-x android
- POJ 3026 Borg Maze
- JAVA处理时间
- Failed to convert path to a short DOS path: C:\Windows\system32\java.exe的解决
- HttpSession
- 2012.12.13
- 建议Font-Size使用em单位控制大小
- cygwin setup on windows for cocos2dx
- VC2008下提示找不到MSVCP90D.dll的解决办法
- 如何使用Photoshop制作身份证1寸照片
- C++中struct 和 class的区别
- Win7+Ubuntu11.10(EasyBCD硬盘安装)