SCJP6 96% | SCWCD5 81% | SCDJWS5 79%
Minhaj kaimkhani wrote:
its giving me following error and i have jdk6 installed.
===
javac: file not found: com\wickedlysmart\MyClass.java
Usage: javac <options> <source files>
use -help for a list of possible options
but in book page# 793 the error message is different!
Note: i have give wrong value to -d param "classes1" which is not available onto file system and while compiling through "javac -d ../classes com/wickedlysmart/MyClass.java" its just compiling fine, no error.
Rajeev Kumar
SCJP 6.0 Certified 96%
Rajiv Chopra wrote:
Minhaj kaimkhani wrote:
its giving me following error and i have jdk6 installed.
===
javac: file not found: com\wickedlysmart\MyClass.java
Usage: javac <options> <source files>
use -help for a list of possible options
but in book page# 793 the error message is different!
Note: i have give wrong value to -d param "classes1" which is not available onto file system and while compiling through "javac -d ../classes com/wickedlysmart/MyClass.java" its just compiling fine, no error.
Hi , I am getting the following message while compiling like you. instead of classes i am using classes1 which doesn't exist. I think this is similar to what book mention. I have JDK5.
C:\myProject\source> javac -d ../classes1 com/wickedlysmart/MyClass.java
com/wickedlysmart/MyClass.java:2: error while writing com.wickedlysmart.MyClass:
..\classes1\com\wickedlysmart\MyClass.class (The system cannot find the path sp
ecified)
public class MyClass{
^
1 error
Rajeev Kumar
SCJP 6.0 Certified 96%
Henry Wong wrote:@Rajiv
I am not entirely sure of the reason why you are trying to reproduce the issue. The original poster of this topic already mentioned that the issue was found, and that it compiles now...
Rajeev Kumar
SCJP 6.0 Certified 96%
Henry Wong wrote:@Rajiv
I am not entirely sure of the reason why you are trying to reproduce the issue. The original poster of this topic already mentioned that the issue was found, and that it compiles now...
SCJP6 96% | SCWCD5 81% | SCDJWS5 79%
Minhaj kaimkhani wrote:
Henry Wong wrote:@Rajiv
I am not entirely sure of the reason why you are trying to reproduce the issue. The original poster of this topic already mentioned that the issue was found, and that it compiles now...
Henry, No issue is not found still -- the error message I'm getting is totally different than mentioned in book..
Rajeev Kumar
SCJP 6.0 Certified 96%
SCJP6 96% | SCWCD5 81% | SCDJWS5 79%
Minhaj kaimkhani wrote:yes its java6.
$>java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
Rajeev Kumar
SCJP 6.0 Certified 96%
Consider Paul's rocket mass heater. |