Tip: http://wanjiwz.blog.163.com/blog/static/2293491200911190199640/
When running the WEKA program, I found that all the text on the interface was displayed as small blocks. I searched the internet for the following solutions. I copied a Chinese font file to the JRE/lib/fonts/fallback directory, if there is no fallback directory, create one manually. My computer's JRE is under/usr/lib/JVM/java-1.6.0-openjdk-1.6.0.0/, but there is no fonts directory under/usr/lib/JVM/java-1.6.0-openjdk-1.6.0.0/JRE/lib, after searching for the Internet for half a day, I did not see a similar problem. Later I found that the solution was so simple:
# Cd/usr/lib/JVM/java-1.6.0-openjdk-1.6.0.0/JRE/lib
# Mkdir Fonts
# Cd Fonts
# Mkdir fallback
# Cd fallback
# Cp... (here I copied stsong. TTF and sursong. TTF under C:/Windows/fonts in Windows)
# Mkfontdir
# Mkfontscale
Run Java-jar WEKA. jar in the WEKA directory. The Chinese font is displayed normally.