I have a source code for java applet which I want to modify. The code was written by someone else and now they have left. But before I modify anything I thought I should just try to just recompile the *.java files and see what happens. The applet contains 5 packages and each package contains 3-4 classes. The class from one package can use class from other package. I can see from the code that there is import statement. When I tried to compile one of the *.java file in a package. I got the following error message:
ďC:\pharsimu\gui\ModelPanel.java:3: package pharsimu.generic does not exist
import pharsimu.generic.DoubleLabelSlider; ď
Is this error due to CLASSPATH or something else. I havenít set my CLASSPATH because I donít know how to do that. I am using text pad to recompile and am new to java.
Can anyone help me???
I suggest you use an IDE. Sun Java Studio Enterprise 8 is the best. It will help you with those errors and class paths...
Last edited by oblivionph; 12-24-2005 at 07:34 AM.
Reason: typooo not I but It... trying to clarify it before i fry myself.
By clarence_rollins in forum .NET
Last Post: 09-11-2002, 11:32 AM
By Alice Claussen in forum Database
Last Post: 02-19-2002, 08:09 PM
By Khalizan in forum VB Classic
Last Post: 11-28-2001, 01:32 AM
By Allison Boughton in forum VB Classic
Last Post: 03-05-2001, 12:27 PM
By Tom Shreve in forum Enterprise
Last Post: 04-07-2000, 09:19 PM
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