code: public static boolean create(File file) {
  
  		boolean created = false;
  
  		// Validate or add the file extension
  		if (GeoPackageIOUtils.hasFileExtension(file)) {
  			GeoPackageValidate.validateGeoPackageExtension(file);
  		} else {
  			file = GeoPackageIOUtils.addFileExtension(file,
  					GeoPackageConstants.GEOPACKAGE_EXTENSION);
  		}
  
  		if (file.exists()) {
  			throw new GeoPackageException("GeoPackage already exists: "
  					+ file.getAbsolutePath());
  		} else {
  			// Create the GeoPackage Connection
  			GeoPackageConnection connection = connect(file);
  
  			// Set the GeoPackage application id and user version
  			connection.setApplicationId();
  			connection.setUserVersion();
  
  			// Create the minimum required tables
  			GeoPackageTableCreator tableCreator = new GeoPackageTableCreator(
  					connection);
  			tableCreator.createRequired();
  
  			connection.close();
  			created = true;
  		}
  
  		return created;
  	}
docs: Create a GeoPackage
  
  @param file
  file
  @return true if created