Creating tx in Java

Im getting FAILURE_TIMESTAMP_TOO_FAR_IN_FUTURE when making a transaction:

Tx code: 10
Tx hash: 5d3db9585097c051f9be41a5d747bc346a28921cfa1e76c34ce6d7303b6f80fb
Tx message: FAILURE_TIMESTAMP_TOO_FAR_IN_FUTURE

Im trying to create a simple transaction in Java.

I setted nis.useNetworkTime = true

You setting wrong transaction time.
Don’t use your local computer time but time from node. It’s time from /time-sync/network-time endpoint divided by 1000.