An inclusion of cubic GaN in an otherwise hexagonal matrix is consider
ed to be equivalent to an effective quantum well. The exciton binding
energy in a quantum well of a finite potential barrier height in the c
onduction and valence bands is calculated in the effective mass approx
imation with a variational envelope function type of Bastard and Takag
ahara. The exciton binding energy and the energy of exciton recombinat
ion line are computed, as a function of the well width, for realistic
potential barrier heights and band-offset ratios.