[Fedora-directory-commits] fedora-idm-console/win fedora-idm-console.bat, 1.2, 1.3

Richard Allen Megginson rmeggins at fedoraproject.org
Tue Feb 3 00:36:48 UTC 2009


Author: rmeggins

Update of /cvs/dirsec/fedora-idm-console/win
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13996/fedora-idm-console/win

Modified Files:
	fedora-idm-console.bat 
Log Message:
Reviewed by: nkinder (Thanks!)
Fix Description: Just use "java -version" to test for the presence of java
Platforms tested: Windows 2003 server
Flag Day: no
Doc impact: no



Index: fedora-idm-console.bat
===================================================================
RCS file: /cvs/dirsec/fedora-idm-console/win/fedora-idm-console.bat,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- fedora-idm-console.bat	14 Dec 2007 21:43:23 -0000	1.2
+++ fedora-idm-console.bat	3 Feb 2009 00:36:45 -0000	1.3
@@ -23,7 +23,7 @@
 
 if not "%JAVA%foo"=="foo" goto launch
 
-where java > nul 2>&1 || goto findjre
+java -version > nul 2>&1 || goto findjre
 
 set JAVA=java
 goto launch




More information about the Fedora-directory-commits mailing list