How do I implement LIBSVM for multiclass classification using java?
libsvm doesn't work with only integer values -- in fact, you're supposed to scale your features to lie within [-1,1] or [0,1] before applying SVM's typically. Read their guide. They also have some tricks for dealing with categorical features as well. 

If you want to get finitely many values which the feature can take, use quantization.