在用于X11的Putty上进行配置之后。当我运行dbca时,出现以下错误:
[oracle@XYZ bin]$ dbca
Exception in thread "main" java.lang.NoClassDefFoundError: Could not
initialize class sun.awt.X11.XToolkit
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.awt.Toolkit$2.run(Toolkit.java:860)
at java.awt.Toolkit$2.run(Toolkit.java:855)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
我已经从命令promt运行了Xming的命令:
"C:\Program Files (x86)\Xming\Xming.exe" :0 -clipboard -multiwindow -ac