看下面演示:
$ cat .bash_profile
。。。 。。。
#PATH=$PATH:$HOME/bin
#export PATH
Oracle_SID=lty
Oracle_BASE=/u01
Oracle_HOME=/u01/oracle
#PATH=$Oracle_HOME/bin:$PATH
#LD_ASSUME_KERNEL=2.4.19-
LD_LIBRARY_PATH=$Oracle_HOME/lib:/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib
TNS_ADMIN=$Oracle_HOME/network/admin
ORA_NLS33=$Oracle_HOME/ocommon/nls/admin/data
Oracle_OWNER=oracle
Oracle_TERM=xterm
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:$Oracle_HOME/bin
DISPLAY=192.168.1.200:0.0
export Oracle_SID ORACLE_BASE ORACLE_HOME PATH LD_LIBRARY_PATH TNS_ADMIN ORA_NLS33 ORACLE_OWNER ORACLE_TERM DISPLAY
stty erase ^h
$ netmgr
。。。 。。。
Exception in thread "main" java.lang.VerifyError: (class: Oracle/net/mgr/servicename/DBPanel$1, method: actionPerformed signature: (Ljava/awt/event/ActionEvent;)V) Illegal use of nonvirtual function call
at Oracle.net.mgr.servicename.DBPanel.<init>(DBPanel.java)
at Oracle.net.mgr.servicename.ConnectInfoEditor.<init>(ConnectInfoEditor.java)
at Oracle.net.mgr.servicename.ServiceNameComponent.<init>(ServiceNameComponent.java)
at Oracle.net.mgr.container.NetContainer.loadComponents(NetContainer.java)
at Oracle.net.mgr.container.NetContainer.initClient(NetContainer.java)
at Oracle.sysman.emSDK.client.appComponent.BaseAppComponent.init(BaseAppComponent.java:242)
at Oracle.sysman.emSDK.client.appContainer.WebApplication.addApplicationComponent(WebApplication.java:1168)
at Oracle.net.mgr.container.NetApplication.init(NetApplication.java)
at Oracle.sysman.emSDK.client.appContainer.WebApplication.launch(WebApplication.java:3443)
at Oracle.sysman.emSDK.client.appContainer.WebApplication.main(WebApplication.java:3326)
解決方法:
$ vi ~/bin/netmgr
第139行:$JRE -classpath $CLASSPATH Oracle.net.mgr.container.NetApplication oracle.net.mgr.container.NetApplication
改為: $JRE -classpath $CLASSPATH -noverify Oracle.net.mgr.container.NetApplication oracle.net.mgr.container.NetApplication
本文出自:億恩科技【mszdt.com】
服務(wù)器租用/服務(wù)器托管中國五強(qiáng)!虛擬主機(jī)域名注冊頂級提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM]
|