我可以在
Windows XP上安装和运行Sybase Central v 4.3而不会出现问题.
但是,当我使用64位Windows Server 2008 R2时,我并不是那么幸运.它确实安装但不会运行.我尝试在兼容模式下运行(Win XP),但它没有用.
谢谢!
编辑:此命令启动它:
"C:\sybase_15\Shared\Sybase Central 4.3\win32\scjview.exe"
编辑:这描述了问题:
+-----------------+ | Stack Trace | +-----------------+ Current thread: main java.lang.NullPointerException at javax.swing.border.EmptyBorder.(EmptyBorder.java:54) at com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$XPDefaultRenderer.getTableCellRendererComponent(WindowsTableHeaderUI.java:63) at com.sybase.util.SybWindowsTableHeaderUI$XPRendererFix.getTableCellRendererComponent(SybWindowsTableHeaderUI.java) at com.sybase.central.viewer.DetailsList$ImageHeaderRenderer.getTableCellRendererComponent(DetailsList.java:1393) at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderRenderer(BasicTableHeaderUI.java:394) at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderHeight(BasicTableHeaderUI.java:428) at javax.swing.plaf.basic.BasicTableHeaderUI.createHeaderSize(BasicTableHeaderUI.java:454) at javax.swing.plaf.basic.BasicTableHeaderUI.getPreferredSize(BasicTableHeaderUI.java:485) at javax.swing.JComponent.getPreferredSize(JComponent.java:1275) at javax.swing.ViewportLayout.preferredLayoutSize(ViewportLayout.java:75) at java.awt.Container.preferredSize(Container.java:1178) at java.awt.Container.getPreferredSize(Container.java:1162) at javax.swing.JComponent.getPreferredSize(JComponent.java:1277) at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:702) at java.awt.Container.layout(Container.java:1020) at java.awt.Container.doLayout(Container.java:1010) at java.awt.Container.validateTree(Container.java:1092) at java.awt.Container.validateTree(Container.java:1099) at java.awt.Container.validateTree(Container.java:1099) at java.awt.Container.validateTree(Container.java:1099) at java.awt.Container.validateTree(Container.java:1099) at java.awt.Container.validateTree(Container.java:1099) at java.awt.Container.validateTree(Container.java:1099) at java.awt.Container.validateTree(Container.java:1099) at java.awt.Container.validateTree(Container.java:1099) at java.awt.Container.validate(Container.java:1067) at java.awt.Window.show(Window.java:461) at java.awt.Component.show(Component.java:1133) at java.awt.Component.setVisible(Component.java:1088) at com.sybase.central.viewer.SybaseCentral.run(SybaseCentral.java:147) at com.sybase.central.viewer.SybaseCentral.main(SybaseCentral.java:386) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sybase.central.viewer.SCLoader.callMethod(SCLoader.java:207) at com.sybase.central.viewer.SCLoader.main(SCLoader.java:107) +--------------------+ | Sybase Central | +--------------------+ Sybase Central Version: 4.3.0.2414 *** A java.lang.NullPointerException exception was caught while gathering application information null +---------------+ | Classpath | +---------------+ C:\sybase_15\Shared\Sybase Central 4.3\sybasecentral.jar Timestamp=2005-08-08 21:17:29.0 Length=603123 C:\sybase_15\Shared\java\jsyblib142.jar Timestamp=2005-08-08 21:17:28.0 Length=264811 C:\sybase_15\Shared\java\HelpManager11.jar Timestamp=2005-08-08 21:17:28.0 Length=56338 C:\sybase_15\Shared\java\SCEditor142.jar Timestamp=2005-08-08 21:17:28.0 Length=345060 C:\sybase_15\Shared\Sun\javahelp-1_1\jh.jar Timestamp=2005-08-08 21:17:28.0 Length=347246 C:\sybase_15\Shared\Sybase Central 4.3\jcchart400K.jar Timestamp=2005-08-08 21:17:29.0 Length=1064214 +-------------+ | Java VM | +-------------+ Total memory: 2994176 Free memory: 739232 System properties: asa.location=C:\SYBASE~1\Shared\SYBASE~1.3\ awt.toolkit=sun.awt.windows.WToolkit file.encoding=Cp1252 file.encoding.pkg=sun.io file.separator=\ java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment java.awt.printerjob=sun.awt.windows.WPrinterJob java.class.path=C:\SYBASE~1\Shared\SYBASE~1.3\SYBASE~1.JAR; C:\SYBASE~1\Shared\java\JSYBLI~1.JAR;C:\SYBASE~1\Shared\java\HELPMA~1.JAR; C:\SYBASE~1\Shared\java\SCEDIT~1.JAR; C:\SYBASE~1\Shared\sun\JAVAHE~1\jh.jar; C:\SYBASE~1\Shared\SYBASE~1.3\JCCHAR~1.JAR; java.class.version=48.0 java.endorsed.dirs=C:\sybase_15\Shared\sun\jre142\lib\endorsed java.ext.dirs=C:\sybase_15\Shared\sun\jre142\lib\ext java.home=C:\sybase_15\Shared\sun\jre142 [CLIPPED]
我们使用一种解决方法:执行管理权限并启用与“Windows Vista Service Pack 2”的兼容性.
原文链接:https://www.f2er.com/windows/365575.html