Default path for entering and exiting files and files in Eclipse

1

my question will not be accompanied by code since it is about the configuration that the project or the eclipse itself may have.

Let's say that for example we use class File to create a new file with the .createFile() method ... Without specifying the route, this normal file would be saved within the project, however with me eclipse is saved inside from the installation folder of the eclipse itself.

In summary, the default path of input and output of files that I have in my eclipse is the porpia eclipse installation folder and I need to configure it so that the default path of input and output of file or files is the root itself of the project.

I have been looking at a lot of information on the internet, but I have not made anything clear, and I have not been able to modify this default route.

Could someone with experience in Eclipse help me modify this property?

    
asked by DazzelWazzel 07.08.2018 в 12:47
source

1 answer

1

When you launch an application from Eclipse, the existing configuration is used for that application or, if it does not exist (this is the first time you try to execute it), an automatic configuration is created for the application. You can go to the menu Run , select Run configurations... and in that screen you can consult and edit the execution settings of your application. Among other things, you can define the Working Path :

    
answered by 07.08.2018 / 15:25
source