• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to put into a package  RSS feed

 
Veena Raghavan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created an application which works fine in the default package . When I put the same application in a package it is not able to find the classes in the package. What might be the cause of this error. Is it something to do with setting of the CLASSPATH.
I appreciate your help.
-Veena
------------------
 
Pragya Prakash
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is basicaly a classpath problem.
compile the class with the -classpath option.
Add the home directory of ur package to the classpath.
Be sure to include the current directory in the classpath.
Regards
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!