Eclipse Java Build Directory

Something is driving me crazy - I have a car object installed in java eclipse ide and building it on a JAR, apparently. Where is the output directory

I do not see any build folders or anything else in the project home folder.

Thanks Kidovate

+4
source share
2 answers

How do you view the project folder? Many types of Eclipse navigation filter output folders. Take a look at your project directory using the OS file system browser.

Java output directories are configured using project properties -> Java build path. You can go to this page to find out which folders are currently in use.

Please note that no jar is created in Eclipse java build. It generates a class directory. To create a jar, you must call File -> Export -> Jar File wizard or use an external script, such as ant or maven.

+3
source

By default, this is the bin / subdirectory of your project directory, bin / classes will contain .class files, bin / will contain .jar if you create it explicitly (for example, via File / Export ...). If you have m2eclipse installed and this is a maven project, then the target directory will be target / .

+3
source

Source: https://habr.com/ru/post/1341556/


All Articles