You can plant Java moss on driftwood by securing the plant using a fishing line, cotton thread, or super glue.
If you’re using a fishing line or cotton thread, make sure they’re thin, yet strong enough to keep the moss in place against the water current. If you’re using superglue, just use a tiny dab and gently press the moss and driftwood together for 5–10 seconds.
Java moss is a slow grower, so it needs extra help to attach to driftwood. After you anchor it, the Java moss will eventually secure itself on the driftwood. This process can take up to four weeks.