DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: package error!

  1. #1
    Join Date
    Dec 2005

    package error!

    Hi all:

    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???



  2. #2
    Join Date
    Sep 2005
    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.

Similar Threads

  1. 'On Error Goto' versus 'Try, Catch, Fail'
    By clarence_rollins in forum .NET
    Replies: 21
    Last Post: 09-11-2002, 11:32 AM
  2. Error creating package
    By Alice Claussen in forum Database
    Replies: 3
    Last Post: 02-19-2002, 08:09 PM
  3. Returning errors from SQL Server Stored Procs
    By Khalizan in forum VB Classic
    Replies: 1
    Last Post: 11-28-2001, 01:32 AM
  4. VB 6 does not get error from RAISERROR in SQL stored procdure
    By Allison Boughton in forum VB Classic
    Replies: 6
    Last Post: 03-05-2001, 12:27 PM
  5. Replies: 0
    Last Post: 04-07-2000, 09:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

By using this site, you agree to the Privacy Policy