import - how can I access a .java file from another project and package? -
i have 2 projects
d:\project_a\src... d:\project_b\src...
now want access java file project_b via project_a.
i appreciate if solution not involve clicking in ide, because should ide independent.
ie.:
package project_a import project_b.src.test.meow.wuff.myclass myclass x = new myclass();
you can build jar
file first project , add build path of second project. can use code first project. more information can found here.
Comments
Post a Comment