1.MXTJ4.5的实用程序的日志或错误信息输出
在MapXtreme-
# LAX.STDERR.REDIRECT
# -------------------
# leave blank for no input, "console" to read from the console window,
# and any path to a file to read from that file
lax.stderr.redirect=(标准错误输出 可选控制台:console或自定义文件:***.log)
# LAX.STDIN.REDIRECT
# ------------------
# leave blank for no input, "console" to read from the console window,
# and any path to a file to read from that file
lax.stdin.redirect=(标准输入)
# LAX.STDOUT.REDIRECT
# -------------------
# leave blank for no input, "console" to read from the console window,
# and any path to a file to read from that file
lax.stdout.redirect=(标准输出)
还可以指定其他选项
类的查找路径
# LAX.CLASS.PATH
# --------------
# the Java classpath necessary to run this application
# Can be separated by colons (Mac OS/Unix) or semicolons (Windows)
lax.class.path=;D:\\Program Files\\MapInfo/MapXtreme-
运行程序的Java虚拟机
# LAX.NL.CURRENT.VM
# -----------------
# the VM to use for the next launch
lax.nl.current.vm=D:\\BES\\jdk\\jdk
2.数据库连接定义
Oracle
连接名: Test(随便)
JDBC驱动类: oracle.jdbc.driver.OracleDriver
数据源URL: jdbc:oracle:thin:@主机名或IP:端口号(默认1521):SID
用户名:
口令:
在加载Oracle驱动时只要加载classes12.jar一个文件就可以,不能同时加入classes12.jar和classes111.jar两个文件。
3.
3.
mdf文件的encoding编码的设置MXTJ 4.5使用中文安装时默认的encoding="GB2312",无需更改。
但MXTJ 4.7使用中文安装时默认的encoding="UTF-8",需要修改MapXtreme-
<!-- Set to the desired MIME defined in this file -->
<XmlEncoding>UTF-8</XmlEncoding>
为
<!-- Set to the desired MIME defined in this file -->
<XmlEncoding>GB2312</XmlEncoding>
注:如果使用UTF-8编码,使用中文作为图层名时,打开文件见到的是乱码。