If you have a one dimensional array you can use this method to use it as a bi-dimensional :
public Object getElement(int x, int y){
return array[x+8*y];
}
From there you can use any method you want.
A good way to start is the fact that you know your queens can't be on the same line/column. From here you can easily do a relatively fast brute force algorithm.
Another way to start would the the usage of backtracking, you try to put your first queen on the first line/column, and you put the next queen to the nearest legal square, etc. Each time a queen can't be placed without breaking the rules, you go back and move your queen to the very next possible place.
Resources :