Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

problem with pakages and classpath  RSS feed

sukal mondal
Posts: 2
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi all,

Im having trouble compiling my application as i have divided it into various packages..
this is how the directory structure looks like..

- Application

- Libapp

- ShoppingApp

- ServerGUI ( Contains main gui form )

- Framework

Now my main gui form in under ServerGUI package, imports other gui forms from LibApp.GUI and ShoppingApp.GUI packages..

this is where i get the error.. On Compilation, the compiler returns error message saying that these packages do not exist.. However, I have compiled the LibApp package and then the ShoppinApp package already.

i ran the project without the packaging and it runs fine... is there a way to get this working, i really need to module them and get them working fast.

Each class in the folder i have defined package name according to the root MANDIR.. e.g. package MANDIR.Application.LibApp.GUI; for those under that directory...
Hope im doing it right..

my classpath setting is :


c:\aglets\public\mandir is the project folder... and all compiled classes are in this according to the above directory path..

Any help will be appreciated.
Ilja Preuss
Posts: 14112
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello Sukal,

welcome at JavaRanch!

Please don't crosspost your questions. I will close this post, please continue the discussion at
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!