-2

I have been learning java for a while and I'm still a newbie. I have written a few classes which are quite useful for me and I was wondering if there is any way the I can use their methods in other projects. Any help will be appreciated.


UPDATE

I created the jar file but I can't import it. I read this but for some reason it didn't work. I use eclipse

Community
  • 1
  • 1
armin
  • 15
  • 2

1 Answers1

3

The canonical way would be to put those classes in a jar file, and include that in your other projects.

Thilo
  • 257,207
  • 101
  • 511
  • 656