2008-10-17

Slitaz - java6-jre

java test

java6-jre

java-fallback


PLS check! get-java6-jre

http://forum.slitaz.org/viewtopic.php?id=926

2008-10-17 13:53:22 #1

alanyih Member

PLS check! get-java6-jre

Processing post install commands...
/usr/bin/tazpkg: cd: line 28: can't cd to /plugins


get-java6-jre-1.0.tazpkg 2008-Oct-14 06:40:01 2.5K application/x-tazpkg

get-java6-jre.sh
.......
Packing : java6-jre-1.6.0_07
================================================================================
Creating the list of files... [ OK ]
Compressing the fs...
Creating full cpio archive...
Restoring original package tree... 197967 blocks
================================================================================
Package java6-jre-1.6.0_07 compressed successfully.
Size : 33.1M java6-jre-1.6.0_07.tazpkg


Installation of : java6-jre-1.6.0_07
================================================================================
Copying java6-jre-1.6.0_07... [ OK ]
Extracting java6-jre-1.6.0_07... 67640 blocks
Extracting the pseudo fs... 197967 blocks
Installing java6-jre... [ OK ]
Removing all tmp files... [ OK ]
Processing post install commands...
/usr/bin/tazpkg: cd: line 28: can't cd to /plugins
================================================================================
java6-jre (1.6.0_07) is installed.


root@slitaz:~# ls -l /usr/lib/firefox-3.0.1/plugins
-rwxr-xr-x 1 root root 15512 Sep 21 08:23 libnullplugin.so



2008-10-17 15:49:34 #2

bellard Contributor

Re: PLS check! get-java6-jre

The fix : http://hg.slitaz.org/wok/rev/c1b4ae2bdeca
Please reload http://mirror.slitaz.org/packages/cooki … 1.0.tazpkg

-pascal



http://hg.slitaz.org/wok/rev/c1b4ae2bdeca


changeset: get-java6-jre: typos
changeset 1595: c1b4ae2bdeca
parent 1594: 713badbd8ef9
child 1596: 270174cf554e
author: Pascal Bellard
date: Fri Oct 17 13:29:48 2008 +0000 (110 minutes ago)
files: get-java6-jre/stuff/get-java6-jre.sh
description: get-java6-jre: typos

--- a/get-java6-jre/stuff/get-java6-jre.sh Fri Oct 17 13:11:57 2008 +0000
+++ b/get-java6-jre/stuff/get-java6-jre.sh Fri Oct 17 13:29:48 2008 +0000
@@ -62,8 +62,8 @@ post_install()
{
echo "Processing post install commands..."
for i in /usr/lib/firefox*; do
- [ -d $i ] || continue
- cd $i/plugins
+ [ -d \$i ] || continue
+ cd \$i/plugins
ln -s /usr/lib/java/jre\$VERSION/plugin/i386/ns7/libjavaplugin_oji.so
done


2008-10-20 08:45:36

alanyih Member

Re: PLS check! get-java6-jre

Thankx!

But have some squares in chart!

java6-jre.png



2008-11-03-21:04

http://www.cnetnews.com.cn/2008/0618/934811.shtml


Linux操作系統JDK中文字體設置方法介紹

  首先來說說產生這個問題的原因。java程序啟動的時候會去在$JAVA_HOME/jre/lib /fonts目錄下尋找相應的字體來顯示。由於 JDK默認沒有中文字體,所以我們需要手工的來設置一下,讓java應用程序能夠找到相應的中文字體。這樣就能夠解決問題了。

 ln -s $FONTS_PATH/FONT_DIR $JAVA_HOME/jre/lib/fonts/fallback



2008-11-05-13:05
http://wiki.eeeuser.com/howto:javachinesefonts_zh

root@slitaz:~# mkdir /usr/lib/java/jre1.6.0_07/lib/fonts/fallback
root@slitaz:~# ln -s /usr/share/fonts/truetype/uming.ttf /usr/lib/java/jre1.6.0_07/lib/fonts/fallback/.
root@slitaz:~# ls -l /usr/lib/java/jre1.6.0_07/lib/fonts/fallback
lrwxrwxrwx 1 root root 35 Nov 5 10:57 uming.ttf -> /usr/share/fonts/truetype/uming.ttf
root@slitaz:~#



(2008-11-05) Yesterday 06:01:33 #4
alanyih Member

Re: PLS check! get-java6-jre

alanyih wrote:

But have some squares in chart!

http://wiki.eeeuser.com/howto:javachinesefonts_zh

java-fallback.png

Last edited by alanyih (Yesterday 06:09:56)