Name: rlT66838 Date: 07/11/97
javac can't find classes if it is invoked on a file
which is specified by a path using forward slashes.
This makes it more painful than necessary to write makefiles
that work on NT and Solaris.
e.g.:
> javac -g -deprecation PackageName/ClassName.java
PackageName/ClassName.java:38: Public class PackageName.ClassName must be
defined in a file called "ClassName.java".
public abstract class ClassName extends Thread {
^
1 error
>
But, this works:
>javac -g -deprecation PackageName\ClassName.java
>
======================================================================
- duplicates
-
JDK-4111087 Win NT javac 1.2b2 doesn't like forward slash
- Closed
-
JDK-4096400 command line options should take '/' as well as '\.
- Closed