打包小问题 :
我用的是jdk1.6编写的程序 但用到了jdk1.7的jar包 于是我就讲jar包导入到程序 在eclipse上程序能顺利运行
但我将其打包成exe时 能打开程序 但是说找不到 一些文件 我猜想应该是说找不到1.7的jar包 的文件吧
请问下打包时是不是要将这个包一起打包 如何打包 ?希望有步骤 谢谢
对了所报错误如下
Exception in thread "AWT-EventQueue-0" java.awt.IllegalComponentStateException: The frame is decorated
at java.awt.Frame.setOpacity(Unknown Source)
at java.awt.Window$1.setOpacity(Unknown Source)
at com.sun.awt.AWTUtilities.setWindowOpacity(Unknown Source)
at com.luolei.source.Opacity.slider(Opacity.java:56)
at com.luolei.source.Opacity.access$1(Opacity.java:53)
at com.luolei.source.Opacity$1.stateChanged(Opacity.java:39)
at javax.swing.JSlider.fireStateChanged(Unknown Source)
at javax.swing.JSlider$ModelListener.stateChanged(Unknown Source)
at javax.swing.DefaultBoundedRangeModel.fireStateChanged(Unknown Source)
at javax.swing.DefaultBoundedRangeModel.setRangeProperties(Unknown Source)
at javax.swing.DefaultBoundedRangeModel.setValue(Unknown Source)
at javax.swing.JSlider.setValue(Unknown Source) |
|