Problem accessing a class in a jar file
I created a public class with 2 static methods (string utilities) which work
fine when this class file is in the same directory as the class file which
is using an import statement to access it.
So the next step seemed to be to put my string utility class in a myutils.jar
file and store it in the jre\lib\ext directory so that I would be able to
reference it in an import statement from other class files.
A new class file that imports from and references the class in myutils.jar
compiles fine, but running it at the command line gives a "NoClassDefFoundError".
(This is using jdk1.3)
Any thoughts, ideas, suggestions?
Thanks in advance
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL