I have installed jvm in that execute host machine(container7) with below commands
$ sudo apt-get install openjdk-8-jdk
$ echo "JAVA_HOME=$(which java)" | sudo tee -a /etc/environment
Checked running with simple java programs whether java is working fine or not.
I also mentioned java installation in /etc/condor/condor_config.local of that execute host machine.
Showing part of the condor_config.local file
ubuntu@container7:~/test_files$ cat /etc/condor/condor_config.local
DAEMON_LIST = MASTER, STARTD, SCHEDD
JAVA = /usr/bin/java
Any help is appreciated on how to start using java universe on htcondor and run java related jobs.
Please let me know if there are any other files I need to provide.