How to generate a jar file.
Menu: wizards -- Archive Builder
To regenerate the JAR file, select project -- rebuilder from the menu.
Add other jar packages in JBuilder.
1> menu: Tools -- Enterprise setup -- datebase driver -- add -- New -- select the path where the jar is located -- after selection -- OK
Restart JBuilder.
2> menu: Project Properties -- required libraries -- add -- select the corresponding jar -- select it -- OK
Obtain the method for starting the command.
Select Start In JBuilder. Then, the startup statements will appear below. Copy these statements to a bat file.
If you want to use this function, you can modify the corresponding path or copy these jar files to the local directory.
How to start the JAR file.
You only need to add the path modification of the corresponding startup command to the corresponding jar to start.
For example:
Original article:
D:/jbuilder6/jdk1.3.1/bin/javaw-classpath
"D:/Zhongsheng/net_mony/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/sunrsasign. 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; sunrsasign_edit.jar; dt_edit.jar;
Htmlconverter_edit.jar; tools_edit.jar "where. whereapp
In this example, copy the files mentioned in the original article to the current directory and change the name to + "_ edit". Then
D:/Zhongsheng/net_mony/where/classes; remove and add the following sentence: Where. jar; the file is a jar generated by JBuilder.
File. At this time, the startup is completely correct.