Try this (notice I have removed the spaces from either side of the =
):
#!/bin/bash
J="4"
FACE_NAME="eig$J.face"
USER_DB_NAME="base$J.user"
Bash doesn’t like spaces when you declare variables – also it is best to make every value quoted (but this isn’t as essential).