Compilation error

10 pts.
Tags:
Java
Java development
Please anyone give solution for my error in compiling, I have written java code in d: drive and when am trying to compile it, I am getting the error as follows:
C:>javac -d D:bmsbin D:bmssrcWelcome.java
javac: file not found: D:bmssrcWelcome.java
Usage: javac <options> <source files>
use -help for a list of possible options


Software/Hardware used:
java

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Michael Tidmarsh
    Welcome to ITKE, privasonu! I'm sure one of our Java experts will try to help you with your issue.

    To see how our community works, check out our FAQ.
    30,970 pointsBadges:
    report
  • carlosdl
    Hi priyasonu. It seems that the compiler doesn't find your source file.  To simplify things, I would try running javac from the location where the source file resides, and removing the -d option.  If that works, you can try making changes to the call, one at a time.
    69,835 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following