Signup · Login
Stardeveloper.com  
Home · Tutorials · Forums · ASP.NET Newsletter Application · Web Hosting Plans · Faisal Khan's Blog · Contact
Forums : ASP : ASP 3.0 : Imported Classes Signup · Login
Author Thread
Imported Classes
Posted in tutorial: Building COM objects using Java classes as components
·  moehler
User
Joined: 21 Nov 2002
Total Posts: 1

Imported Classes

Posted: 21 Nov 2002
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.

Thanks for your input.
·  Faisal Khan
AdminAdminAdminAdmin
Joined: 24 Sep 2002
Total Posts: 595
Re: file check
Posted: 22 Nov 2002
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.

Faisal Khan.
Stardeveloper.com
Read Blog | Follow on Facebook, Twitter
·  mahi
User
Joined: 11 Mar 2004
Total Posts: 2
How to import user packages?
Posted: 11 Mar 2004
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.



Mahi Reddy
Want to leave a comment? Login or Register for free!

Users Who Have Visited This Thread In Last 24 Hours
2 Visitors

Login to post a comment or start a new thread
UserName Or Email Address:       Password:       Auto-Login:    
· Create New User Account
· Send Forgotten Password by Email
 
© 1999 - 2010 Stardeveloper.com, All Rights Reserved.