I am using windows os, So there is no issue with Font(java.awt) class object creation. but my testing environment is on linux. So on that I am getting NULL POINTER exception.
Cannot load from short array because "sun.awt.FontConfiguration.head" is null
After seacrhing I found that there should be fonts folder in usr/share directory on linux. So someone can please suggest. Do I have to just copy fonts to that directory or there is other way to intsall?