So, after long term digging and trying multiple times, I have find a solution for JDT. Anyone, who is facing the same issue can follow the below instructions:
Download the jar from the given link: https://github.com/seeq12/eclipse-import-projects-plugin/tree/master/jar
Place the above jar in the plugins directory of your installed eclipse. The path to that for Mac OS is: Eclipse.app/Contents/Eclipse/plugins
For windows the path will be, eclipse > plugins directory
Edit the below file:
For Mac:
"Eclipse.app/Contents/Eclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info"
For Windows:
"C:\eclipse\configuration\org.eclipse.equinox.simpleconfigurator\bundles.info"
add jar info, you can copy below line and directly paste to bundles.info file:
"com.seeq.eclipse.importprojects,1.4.0,
plugins/com.seeq.eclipse.importprojects_1.4.0.jar,4,false"
after all the above steps,
For Mac: go to MacOs directory and run below command
./eclipse -nosplash -application com.seeq.eclipse.importprojects.headlessimport -data -import
For Windows: go to eclipse directory and run below command:
eclipsec.exe -nosplash -application com.seeq.eclipse.importprojects.headlessimport -data -import
Please let me know if anyone still faces issues.