1
I wonder if there is a way to import and instantiate an object of a class that is, for example, inside a folder in my files and not in a project inside the eclipse.
1
I wonder if there is a way to import and instantiate an object of a class that is, for example, inside a folder in my files and not in a project inside the eclipse.
2
I’m sure they were.
There are at least 3 options:
The simplest is:
Select project > Properties > Java Build Path > Libraries tab > Click Add External Class Folder > Select folder.
1
In order to instantiate an object of this class, it needs:
In addition to the form I mentioned below, you can also use Eclipse Classpath and Link with an external folder.
Browser other questions tagged java eclipse
You are not signed in. Login or sign up in order to post.
Exactly that, but what I needed was a way to do this import without using Wizard, by clicking and selecting. Automatically do it by code
– Araújo Filho
You can edit the . classpath after creating the project. It does not use Wizard, but it is not elegant.
– josivan