954,545 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Problem in calling one class in one file from another class in another file

I got this error:
javac AudioConverter.java
.\Converter1.java:55: cannot access jlc
bad class file: .\jlc.java
file does not contain class jlc
Please remove or make sure it appears in the correct subdirectory of the classpa
th.
jlc j=new jlc();


jlc is one class which I have to call in another class

Pls. Help me

mandar2886
Newbie Poster
19 posts since May 2008
Reputation Points: 10
Solved Threads: 1
 

Hello,

Try this : javac AudioConverter.java jlc.java

:D

puneetkay
Junior Poster
122 posts since Nov 2007
Reputation Points: 51
Solved Threads: 24
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You