[root@gugonghcs jPortScanner.1.0.4]# jPortScanner
Warning: Cannot convert string "MetaCtrl<Key>Insert" to type VirtualBinding
java.lang.ArrayIndexOutOfBoundsException: 7 >= 0
at java.util.Vector.elementAt(Vector.java:427)
at javax.swing.table.DefaultTableModel.getValueAt(DefaultTableModel.java:617)
at javax.swing.JTable.getValueAt(JTable.java:1760)
at javax.swing.JTable.prepareRenderer(JTable.java:3686)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:1149)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1051)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:974)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at javax.swing.JComponent.paint(JComponent.java:80
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JViewport.paint(JViewport.java:707)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4771)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4724)
at javax.swing.JComponent._paintImmediately(JComponent.java:466
at javax.swing.JComponent.paintImmediately(JComponent.java:4477)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:17
at java.awt.EventQueue.dispatchEvent(EventQueue.java:44
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
使用 /usr/java/j2sdk1.4.1_01/bin/java 后,没有这么多的错误了:
2003年01月07日下午14时41分39秒[root@gugonghcs root]# jPortScanner
Warning: Cannot convert string "MetaCtrl<Key>Insert" to type VirtualBinding
2003年01月07日下午14时44分07秒[root@gugonghcs root]# which jPortScanner
2003年01月07日下午14时44分10秒[root@gugonghcs root]# cat /usr/local/bin/jPortScanner
#!/bin/sh
/usr/java/j2sdk1.4.1_01/bin/java -jar /usr/local/jPortScanner/lib/jPortScanner.jar
Description
===========
JSch is a pure Java implementation of SSH2. JSch allows you to
connect to an sshd server and use port forwarding, X11 forwarding,
file transfer, etc., and you can integrate its functionality
into your own Java programs. JSch is licensed under GNU LGPL.