Method for generating JAR files

xiaoxiao2021-03-06  77

Method for generating JAR files.

Menu: Wizards - Archive Builder

If you need to regenerate the JAR file, you need to select Project - Rebuilder in the menu.

The method of adding other JAR packets in JBUILDER.

1> Menu: Tools - Enterprise Setup - DateBase Driver - Add - New - Select the path where JAR is located - check - OK - Select - OK

Rain from JBuilder.

2> Menu: Project Properties - Required Libraries - Add - Select the appropriate JAR - Select - OK - OK

Get the method of starting the command.

Select boot in JBuilder, then the startup statement will appear below, and then copy these statements to a BAT file.

If you want to be universal, you can modify the corresponding path, or you can use these JAR replication. Method of launching JAR files.

Just add the PATH modification of the corresponding startup command to the appropriate JAR.

Such as:

original:

D: /jbuilder6/jdk1.3.1/bin/javaw -classpath

"D: / zhongsheng / net_mony / where / where / classes; d: /jbuilder6/lib/jbcl.jar;

D: /jbuilder6/lib/dx.jar; d: /jbuilder6/lib/beandt.jar; d: /jbuilder6/lib/dbswing.jar;

C: /jdk1.4/lib/mysql_comp.jar; d: /jbuilder6/jdk1.3.1/demo/jfc/java2d/java2demo.jar;

D: /jbuilder6/jdk1.3.1/jre/lib/i18n.jar; d: /jbuilder6/jdk1.3.1/jre/lib/jaws.jar;

D: /jbuilder6/jdk1.3.1/jre/lib/rt.jar; d: /jbuilder6/jdk1.3.1/jre/lib/sunrsign.jar;

D: /jbuilder6/jdk1.3.1/lib/dt.jar; d: /jbuilder6/jdk1.3.1/lib/htmlconverter.jar;

D: /jbuilder6/jdk1.3.1/lib/tools.jar "where.whereapp

After modification:

Javaw -classpath

"where.jar; jbcl_edit.jar; dx_edit.jar; beandt_edit.jar; dbswing_edit.jar; mysql_comp_edit.jar;

Java2demo_edit.jar; i18n_edit.jar; jaws_edit.jar; rt_edit.jar; sunrsign_edit.jar; dt_edit.jar;

HTMLCONVERTER_EDIT.jar; Tools_EDit.jar "Where.whereApp

This is the action we made: copy the individual files mentioned in the original text to this level, and renamed "_ edit" and will

D: / zhongsheng / net_mony / where / where / classes; removed, plus a sentence: where.jar; this file is JBuilder generated JAR

file. At this time, the startup is completely correct.

转载请注明原文地址:https://www.9cbs.com/read-94065.html

New Post(0)