不好意思,粘贴的时候贴错了
第二行:
//位于c:\temp\ShowMsgBox.class could not be found
应该改成
//位于c:\temp\下/////////////////////////////////////////////////////
我写了这样一个文件:
//位于c:\temp\下
//ShowMsgBox.java
第二行:
//位于c:\temp\ShowMsgBox.class could not be found
应该改成
//位于c:\temp\下/////////////////////////////////////////////////////
我写了这样一个文件:
//位于c:\temp\下
//ShowMsgBox.java
Error: Class c:\temp\ShowMsgBox could not be found.
C:\temp>javah ShowMsgBox
Error: Class ShowMsgBox could not be found.
C:\temp>javah -classpath "c:\temp" ShowMsgBox
多谢各位!!小弟准备结贴啦。