Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I convert an eclipse-dependent application into an eclipse-independent application?

Tags:

java

eclipse

I developed an application in eclipse that uses many of the classes of the eclipse framework and requires eclipse to run. But now I'm being required to decouple it from eclipse and make it a standalone application. How can I do this?

like image 725
GuruKulki Avatar asked Dec 01 '25 16:12

GuruKulki


1 Answers

You might have luck using File / Export... / Java / Runnable Jar File. This will create a standalone .jar file that should be possible to run without Eclipse. You may however need to experiment with the various settings to get it to behave exactly how you want depending on what libraries you are using.

In general however, I'd suggest using a proper build/dependency management tool such as Maven. This will take a bit of time to learn at first, but my experience is that it will make you more productive in the long run....

like image 114
mikera Avatar answered Dec 04 '25 06:12

mikera



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!