Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1285170
  • 博文数量: 161
  • 博客积分: 10192
  • 博客等级: 上将
  • 技术积分: 2165
  • 用 户 组: 普通用户
  • 注册时间: 2006-07-27 17:09
文章分类

全部博文(161)

文章存档

2012年(2)

2011年(13)

2010年(137)

2009年(5)

2008年(4)

我的朋友

分类: LINUX

2010-07-21 12:41:21

方案1:
在要运行的xx.sh文件里加入
LANG=en_US.iso885915
NLS_LANG='simplified chinese'
export LANG
export NLS_LANG

解决方案2:

在要运行的xx.sh里加入“-Dfile.encoding=gb2312
例如:
/opt/jdk1.5/bin/java -Dfile.encoding=gb2312 -Xmx512m -cp /opt/baofeng_paihangbang/program/lib/commons-email-1.0.jar:/。。。。。。

阅读(468) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~