1.
2.编辑sysmodule.cmd文件
java -cp sysmodule.jar;classes12.jar;mysql-connector-java-5.0.3-bin.jar;jbcl.jar sysmodule.Application
新关联的mysql-connector-java-5.0.3-bin.jar;包
3.修改dbcon.properties文件修改成mySQL的
修改前:
driver=oracle.jdbc.OracleDriver
url=jdbc:oracle:thin:@10.192.88.216:1521:FIC
username=ficbusi
password=ficbusi
#driver=com.informix.jdbc.IfxDriver
#url=jdbc:informix-sqli://197.20.1.3:7510/fuwsdb:INFORMIXSERVER=online_dcchouse;NEWLOCALE=en_us,zh_cn;NEWCODESET=GB2312,8859-1,819
#username=fuws
#password=fuws
修改后:
driver=com.mysql.jdbc.Driver
url=jdbc:mysql://localhost:3306/iwap
username=root
password=root
#driver=com.informix.jdbc.IfxDriver
#url=jdbc:informix-sqli://197.20.1.3:7510/fuwsdb:INFORMIXSERVER=online_dcchouse;NEWLOCALE=en_us,zh_cn;NEWCODESET=GB2312,8859-1,819
#username=fuws
#password=fuws
4.启动sysmodule.cmd文件.
5.外部dbcon.properties文件是通过主jar文件sysmodule.jar中的MainFrameDoc文件关联起来的
原文地址:https://www.cnblogs.com/curedfisher/p/11468710.html