Bookmark Topic Watch Topic
  • New Topic

Unable to compile default package class refered in other classes using JavaCompiler API

 
thinkpavan pavan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Report post to moderator
I have a situvation where i need to compile classes dynamically.

Following is the structure in which my java classes have been organized.

where A is a class with default package, and B is a class with package name test. B has A as a attribute.

Files are saved in their respective folders( as per package )

I fail to compile this with JAVA Compiler API.

Any help !!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64717
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question more than once.
 
    Bookmark Topic Watch Topic
  • New Topic