I'm using netbeans 6.1 my problem is compile through jdk class not accessing class file from netbeans. I don't what is the problem. In my project I compile some part of program using jdk and some other part of programs where compiled using netBeans. NOw I can't combine thoser thing. Please any help.
I suspect that your problem is related to classpaths.
To what directory are sending the classes compiled through the JDK?
Netbeans places the compiled class files inside the build folder under the root of the project (or some other place as set when you create the project in Netbeans, you can check where)
I suggest your either import the classes not in Netbeans into Netbeans so that Netbeans compiles all the java files into the same folder structure. Alternatively, you will need to copy the Netbeans compiled class files into folder structure to where you compile the java files through the JDK.
I hope I have understood your problem correctly, and that this explanation makes some sense