Running a Java program on a Jetson Xavier NX from Ubuntu 18.04 as host

I’m just finished with flashing my Jetson Xavier NX after downloading the SDK manager on my VM running Ubuntu 18.04 as host.

I’m looking to create an application written in Java and run it on my Jetson Xavier NX as a target computer, is there any way to write Java on nsight eclipse (or any other software that was added via the SDK manager)? I’ve also downloaded the regular Eclipse IDE and added the nsight plugins but can’t figure how to run it on my target computer.