JDK 8 of 32 and 64 bits


Good morning, everyone. I have a question not exactly about programming. I just changed my operating system windows 7 from 32 bits to windows 7 from 64 bits. I use netbeans to program in java, obviously I had to save all my projects and install 64-bit netbeans and 64-bit jdk. Everything seemed normal, the projects and everything. However, when compiling a project in which I was working from the previous operating system, I realized that I was not placing jLabels with the font that I indicated. so I used the following code to see what sources the 64-bit jdk 8 brings:

package nuevaarquitectura;

import java.awt.GraphicsEnvironment;
public class Nuevaarquitectura {

    public static void main(String[] args) 
        String fonts[] = GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();

        for (int i = 0; i < fonts.length; i++) 
            System.out.println( fonts[i] );


So I realized that it does not really bring the same sources that the 32 bit jdk had. My question is, is this normal ??? Is there any way to add the other sources that the 32 bit jdk had? What really worries me is to know if there will be something else that the 64 bit jdk does not bring? Should they be the same and bring the same versions both? No?

asked by Abner 21.04.2017 в 23:34

1 answer


I can not tell you if it is normal that the 32bit and 64bit versions come with different fonts, but you can add _TrueType_Fonts_ to your runtime .

You have to leave the .TTF in the path ./jre/lib/fonts of your Java installation.

You may have to add the routes to the fonts to fontconfig.properties.src

answered by 21.04.2017 в 23:57