By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,654 Members | 1,519 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,654 IT Pros & Developers. It's quick & easy.

what is the best way to some one else to run my java project

P: 59
i have a java project for my resume that i put it on github. and i want a fastest way to some one else to run my project.

should i just put all my files there? like src, bin, .setting, etc...
or should i just put 'src' files.

or should i put 'bunder' file and 'src' folder?
Oct 8 '13 #1
Share this Question
Share on Google+
1 Reply

Expert 2.5K+
P: 3,112
If you want a simple way to compile your project, I'd make it a maven or gradle project; both will allow simple building of the code. Then to run it you may also want to include a shell script (or even two; one for Windows and one for *NIX) that will allow starting it.

If you follow this advice, you'll only need to upload:
  • the src directory
  • any non-compiled binaries (e.g. pictures or audio files) and
  • the pom.xml (when using maven) or build.gradle (when using gradle)
The bin directory includes the files compiled by your system (so while you can upload them they'll take up more space and aren't required). The .settings and .project files are from Eclipse and not required for the project. And I don't know what the bunder file is supposed to be.
Oct 9 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.