So you can maybe call it from your Java program and take what it can return.
Otherwise you can use its C++ libraries, but afaik it's not easy at all in Java (with JNI).
At least you can maybe try to convert/adapt the C++ code in Java, https://github.com/libbitcoin/libbitcoin-system/blob/master/src/wallet/mnemonics/electrum.cpp
And no one will write a complete program for generating a new version of the seed to me on the forum.
I have a BIP39. everything works.
It just needs to be filtered. It should be easy.)
from this python example I took the line
as far as I understand - they just remove all(?) spaces.
but still can't filter
hope someone in java can help me
But if you don't use seeds in CJK characters you don't care of that.