java.lang.NoClassDefFoundError: sun/io/ByteToCharGBK

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 843799, 1 year ago
sun/io/ByteToCharGBK
via Oracle Community by 807587, 1 year ago
sun/io/ByteToCharGBK
via Oracle Community by 807577, 1 year ago
via Google Groups by S. MARSOLLE, 5 months ago
via Oracle Community by 843807, 6 months ago
sun/io/ByteToCharGBK
java.lang.NoClassDefFoundError: sun/io/ByteToCharGBK
at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)
at sun.java2d.SunGraphicsEnvironment.addPathFonts(SunGraphicsEnvironment.java:736)
at sun.java2d.SunGraphicsEnvironment.registerFonts(SunGraphicsEnvironment.java:587)
at sun.java2d.SunGraphicsEnvironment.access$100(SunGraphicsEnvironment.java:49)
at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:209)
at java.security.AccessController.doPrivileged(Native Method)
at sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.java:203)
at sun.java2d.SunGraphicsEnvironment.initTerminalNames(SunGraphicsEnvironment.java:1029)
at sun.java2d.SunGraphicsEnvironment.initCompositeFonts(SunGraphicsEnvironment.java:795)
at sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:49)
at sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:160)
at java.security.AccessController.doPrivileged(Native Method)
at sun.java2d.SunGraphicsEnvironment.(SunGraphicsEnvironment.java:78)
at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:150)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:306)
at java.lang.Class.newInstance(Class.java:259)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.Window.init(Window.java:224)
at java.awt.Window.(Window.java:268)
at java.awt.Frame.(Frame.java:398)
at java.awt.Frame.(Frame.java:363)
at javax.swing.JFrame.(JFrame.java:154)
at BayConsole.view.Authenticate.(Authenticate.java:118)
at BayConsole.view.Authenticate.main(Authenticate.java:800)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.