The java tool allows -jar option whose argument is a JAR archive with the start-up class in its manifest header. The argument should be an absolute path otherwise java expects it in the current dir.
From the user perspective, it will improve java usability if java searches PATH environment when the argument is just JAR filename without directory names and the current dir doesn't contain the JAR file. PATH is used for searching an executable file. We just need to extend it for the executable jar archive for those who want some saving in typing.
###@###.### 2002-11-25
From the user perspective, it will improve java usability if java searches PATH environment when the argument is just JAR filename without directory names and the current dir doesn't contain the JAR file. PATH is used for searching an executable file. We just need to extend it for the executable jar archive for those who want some saving in typing.
###@###.### 2002-11-25
- relates to
-
JDK-4811221 Drive letter (colon) in Class-Path breaks executable jar manifest parsing
-
- Closed
-