First of all, this is a college task and we don't get any instructions on how Java work with libs, JARs, etc. So I'd be very helpful if someone could be lenient and please ELI5 (I'm not a technical guy).
So all I want to do is add JavaFX
to a Java project that I share with my team on GitHub. In Eclipse, I used the Install Software
wizard, added the library to the build path, and merged these changes to the master branch.
When I open the master branch in eclipse, I can see the library:
my PC
But my team members (other computers) don't have it: their PC
If you look at the first image, there's a link next to the JAR
that indicates it's saved somewhere on my C drive. Unlike the JARs
under the hibernate lib which I added directly to my project by copy-pasting them.
We also have a .gitignore
file with following lines:
bin/
.metadata
.recommenders
When there was more than 1 pull request, these folders caused unsolvable merging conflicts for the remaining ones after I merged one of them.
I thought about copy-pasting the JavaFX JAR
into the project just like I did with the hibernate JARs
, because my team members did get those. But as I sead earlier, I have no single clue how all of this works, all I do is follow tutorials. I don't even know if the JAR
on its own will be sufficient, or where copy-pasted JARs
are stored. Could it be in .metadata
? Because I actually hadn't configured the .gitignore
file yet when I merged the hibernate JARs
.
On a last note, we don't use Maven or anything alike. All we use is github.com for merging, Git Bash for pulling/committing/pushing and normal eclipse (not EGit) for coding.
Any help would be greatly appreciated!