What are you really trying to do? That is, why do you need this?
To answer your question: it depends.
If the variables are class members, that you get their value through reflection:
Field field = getClass().getDeclaredField("var_" + index);
Object fieldValue = field.get(this);
int intVlaue = ((Integer)fieldValue).intValue;
If the variables are local variable, you cannot read them in this way, because names of locale variables are not present anymore in the class file.
What you probably really need is an array:
int[] vars = new int[10] { 212, 343, ... };
int value = vars[index - 1]; // Arrays are 0-based.
or, if you only have a value for a few indices or your indices are not integers, a Map:
Map<Integer, Integer> vars = new HashMap<>();
vars.put(1, 212);
vars.put(2, 343);
...
int value = vars.get(index);