You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/07/06 22:56:06 UTC

[Bug 2484] New: - should check that JAVAHOME is valid and give better error message

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2484

*** shadow/2484	Fri Jul  6 13:56:06 2001
--- shadow/2484.tmp.19934	Fri Jul  6 13:56:06 2001
***************
*** 0 ****
--- 1,22 ----
+ +============================================================================+
+ | should check that JAVAHOME is valid and give better error message          |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2484                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.3                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Minor                    OS/Version: Windows NT/2K           |
+ |     Priority: Other                     Component: Wrapper scripts         |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: erolfox@hotmail.com                                          |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ ant.bat could have a check that the JAVAHOME env. var. is valid. I've got 
+ jdk1.3.1, but the env. was set incorrectly for this minor build. 
+ 
+ Suggest adding:
+  if not exist %_JAVACMD%.exe echo JAVAHOME env. var. is not valid!
+ after the lines that set this var