If I have imported lang.io.*, do I need to tell the OS how to make that link. I have the jre in the path, but am getting an java.lang.NoSuchMethodError for File.listFiles() method calls.
I have other classes that don't link to the anything outside of java.lang.* that run fine.
There is no package like lang.io.*, there are however java.lang.* and java.io.* packages and these are by default in the classpath of every Java runtime.
Make sure you are not importing the wrong package ( lang.io.* doesn't exist ), import "java.io.*" package instead.
Hi, If the imported package is not a default package how can I import that. I need to use a java class in my ASP for password hashing. Now my java class is using a package " import au.net.aba.crypto.provider.ABAProvider;" I place the class file in winnt/java/trustlib directory and placed the au folder in winnt/java/class directory. My ASP page is giving error "ClassFactory cannot supply requested class" when i tried to create object for the java class. Please give me the solution asap.