Release an Eclipse project
I'm ready to send out betas of my Eclipse project to my friends. I have already tried to make an executable jar, which worked on my computer. But when sent to my fr开发者_如何学Pythoniends (who use Ubuntu and Mac OSX), they couldn't execute the jar. How can I send out a full copy of my current project so that it works on all OSs?
This is perhaps not what you want, but it comes from a voice of experience.
Do not use eclipse as a build tool to make things you release.
Learn ant or maven (or buildr or something). Use eclipse as your IDE, but when you want something to send to someone somewhere else, use a command-line build tool.
Use Java Web Start to launch the project off a web server. This will work for any OS with Java (1.4.2+) installed, and some earlier JREs as well.
Do you have dependencies in your project that are installed on your machine and not on theirs?
精彩评论