|
楼主 |
发表于 2006-2-10 18:39:49
|
显示全部楼层
以下是map.bat的内容:
@echo off
cd "D:\NETI@home"
if not exist "javaw.exe" goto sun
"javaw.exe" NETIMap
goto done
:sun
if not exist javaw.exe goto windows
javaw NETIMap
goto done
:windows
if not exist \windows\wjview.exe goto nt
wjview NETIMap
goto done
:nt
if not exist \winnt\wjview.exe goto system32
wjview NETIMap
goto done
:system32
if not exist \windows\system32\wjview.exe goto ntsys32
wjview NETIMap
goto done
:ntsys32
if not exist \winnt\system32\wjview.exe goto error
wjview NETIMap
goto done
:error
echo No Java found (wjview (Microsoft) or javaw (Sun))
echo Try downloading Java from Sun at
http://java.sun.com/downloads/index.html
:done
它要的东西我一个都没有,就goto error了……
但我记得装了Java虚拟机的…… |
|