This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes class not found error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "class not found error" Watch "class not found error" New topic

class not found error

kumar hght

Joined: Feb 25, 2004
Posts: 3
I am new to java world . I am getting these errors, plz help me out
I have java in
Path: c:\Sun\AppServer\jdk\bin;
error: cannot read:
1 error
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
First of all, did you create a file named Second, what directory or folder is it saved in? I suspect that you need to use the cd command to change to this folder before using javac to compile it.

Java API Documentation
The Java Tutorial
kumar hght

Joined: Feb 25, 2004
Posts: 3
I saved the file as in folder: "c";
even I tried by saving the file in jdk's bin folder
i.e c:\Sun\AppServer\jdk\bin\
even then I am getting same error
error: cannot read:
1 error
Max Habibi
town drunk
( and author)

Joined: Jun 27, 2002
Posts: 4118
try adding ;. to your paths, then reboot your machine.

Java Regular Expressions
kumar hght

Joined: Feb 25, 2004
Posts: 3
sorry, I couldn't able to get the result
I agree. Here's the link:
subject: class not found error
It's not a secret anymore!