|
发表于 2005-1-15 09:22:45
|
显示全部楼层
更新一下安装思路,共同来解决问题吧
mercury 安装小结
这个东东还真的不错,就是因为用JAVA的占用内存、CUP大了些,不过功能比GAIM要强一些了,安装方法如下:
1、从安装JDK1.5说起吧
在java.sun.com下载:jdk-1_5_0_01-nb-4_0-bin-linux.bin,我用的是:jdk-1_5_0-nb-4_0-beta2-bin-linux.bin(设置中文显示应该没有变化的),你也可以只下载:jdk-1_5_0_01-linux-i586.bin。安装JDK,
#./jdk-1_5_0_01-nb-4_0-bin-linux.bin
选择你想安装的目录吧。通常我是安装在/usr/local/java下面的。
刚才下载了jdk-1_5_0_01-nb-4_0-bin-linux.bin,使用原来的fontconfig.properties,中文显示仍是完美哟。
2、设置JAVA环境变量
在/etc/profile 中加入JAVA的路径.我的设置如下,各位可根据自己安装的目录修改:
#Java
export PATH=/usr/local/java/1_5_0_01/bin PATH
export CLASSPATH=.:/usr/local/java/1_5_0_01/lib/tools.jar:/usr/local/java/1_5_0_01/lib CLASSPATH
保存,注销,在终端输入:$javac
javac
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are used
-classpath <path> Specify where to find user class files
-cp <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-endorseddirs <dirs> Override location of endorsed standards path
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generate class files for specific VM version
-version Version information
-help Print a synopsis of standard options
-X Print a synopsis of nonstandard options
-J<flag> Pass <flag> directly to the runtime system
出现类似信息,说明JAVA已经启动使用了,也可以输入:ControlPanel,调出JAVA控制台,当然,如果你的local是英文的,显示的可能是英文,如local是中文的,可能是乱码哟,别急,慢慢来,会解决的。
3、解决ControlPanel 中文显示乱码的问题
我的系统是:
FC2 2.6.8.1
KDE 3.3.1
QT:3.3.3
i18n内容:(英文显示)
LANG="en_US.UTF-8"
SUPPORTED="zh_CN.GB18030:zh_CN.GB2312:zh_CN.GBK:zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"
i18n内容:(中文显示)
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN.GBK:zh_CN"
SUPPORTED="zh_CN.GB18030:zh_CN.GB2312:zh_CN.GBK:zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"
系统用simsun fireflysung.ttf 两种主要字体,所以在设置JAVA控制台中文显示时也是用这两种字体的。在SIR里已经有兄弟给过解决方法,不过在我的机子上还是自己设置了,具体文件内容见附件,有几点要说明的是:
a、请把:home_java/jre/lib 下以:fontconfig开头的文件RM或备份到别的地方,
b、下载附件里的fontconfig.properties 文件,copy到:home_java/jre/lib 下,并将fontconfig.properties中的字体安装位置修改成你的simsun.ttf、fireflysung.ttf安装位置,如果你没安装这两种字体,就用你自己的字体代替其中的所有字体选项吧。
c、保存,重启电脑,在终端输入:ControlPanel 看显示中文是否正常,如果不正常,说明你的字体设置有问题,修改fontconfig.properties文件内的字体类型及字体位置吧,多试几次,应该会正常显示的。
4、安装mercury
目前不带VM的mercury LINUX 安装版本只有1707,可手动升级到1708, for MAC现在已经有1709B1版本了
下载LINK:
for linux
a、不带VM的:
http://mercury.to/torrents/1707_ ... T下载的呢?)
1708的种子在:
http://www.linuxsir.cn/bbs/attachment.php?attachmentid=20182
b、带VM的;
http://www.nihil.ch/mercury/release/1707_Linux_VM.bin
for MAC的;
http://62.166.35.75/~benkubbenga/Mercury_1707_Mac.zip
1709B1的种子:
http://www.mercury.to/torrents/1709_B1.torrent
5、安装(我只是在LINUX下使用的)
a、进入文件存放的目录:
#./1707_Linux_NoVM.bin
根据自己的要求修改安装目录
b、升级
解压下载的1708文件,进入解压后的目录:
#cp -rf * home_mercry(这里是指mercury的安装目录)/ --reply=yes
d、运行
进入mercury的安装目录:
$./Mercury 就可以了 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|