Given enough time and willpower you could implement hyphenation yourself based on this thesis for example http://www.tug.org/docs/liang/.
Implementing hyphenation yourself is not an easy task though, so you might want to opt for alternate solutions.
Hyphenator.js
Yes, this is a javascript project. However it is possible to call javascript functions from java. You can find more information of this here: http://docs.oracle.com/javase/6/docs/technotes/guides/scripting/programmer_guide/index.html.
This offers support for a wide variety of languages.
Scrape dictionaries
Many dictionaries offer hyphenation rules. You can find these online though it will involve some searching. Next you can scrape these for the hyphenation rules, but this might be an uglier workaround than calling javascript from Java.
Either way, hyphenation is not an easy problem, implementing it yourself seems like quite an annoying task so maybe the javascript project is your best bet. OR, you could implement your own Java implementation based on hyphenator.js. At least you would not start from scratch then.