0

データベース接続用のライブラリ jar ファイルを含めて .exe ファイルを作成する方法を誰か教えてもらえますか? スタンドアロン アプリケーションがあり、launch 4j .exe ビルダーを使用しています。

4

2 に答える 2

0
Let the distribution file structure is like this:

bin/launch4j.exe  
bin/config.xml  
bin/dist/app.jar  
bin/dist/lib/ojdbc6.jar

jar files in the lib directory can be included in the config file as below:

<launch4jConfig>
  ...........
  <chdir>./dist</chdir>
  ...........
  <classPath>
    ..........
    <cp>./lib/*.jar</cp>
    ..........
  </classPath>
  ...........
</launch4jConfig>
于 2013-11-06T10:01:32.307 に答える