I am developing an application in which I need an option to create a new geodatabase.
I use arcgis runtime sdk for java 10.2.4. I have installed arcObjects to perform this task but I mark the following error.
To carry out the task I was guided in the following example: arcgissamples.geoprocessing.ToFileGDB (Java2HTML)
The "no ntvinv in java.library.path" error typically comes from a mismatch between the Java's bit level and the bit level of ArcObjects. The ArcObjects libraries are comprised of 32 bit components while Java is 64 bit. Try using a 32 bit Java version that is supported for your version of ArcObjects.
Regarding the sample script, the key is the Geoprocessing object which makes use of ArcGIS's Python functionality. If the goal is to create a file geodatabase then the CreateFileGDBClass is the way to go.
com.esri.arcgis.geoprocessing.tools.datamanagementtools.CreateFileGDB
Creating enterprise, multi-user geodatabases can be accomplished by running the CreateEnterpriseGeodatabase geoprocessing tool with the Geoprocessor class methods.
Create Enterprise Geodatabase—Help | ArcGIS Desktop
ArcObjects Java API - Geoprocessor class
.NET example of executing a geoprocessing tool with ArcObjects