close

How to install Knopflerfish OSGI?

Environment information:
OS: Fedora core 5
Need: JDK, knopflerfish_osgi_2.1.0.jar


Step 1: After download ,install the JDK ...

#chmod +x jdk-6u7-linux-i586.bin
#./jdk-6u7-linux-i586.bin

Step 2: Edit the profile to setup the JDK classpath...
#vim /etc/profile

insert the follow command in your profile...

JAVA_HOME=/jdk1.6.0_07
JAVA_BIN=$JAVA_HOME/bin
CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
export PATH=$JAVA_BIN:$PATH
export JAVA_HOME JAVA_BIN CLASSPATH

save and leave the vim editor

#source /etc/profile
#java -version
#javac -version
(It must be show some infomation about the JDK)

Step 3: Install the Knopflerfish OSGi...

After you download the knopflerfish_osgi_2.1.0.jar...

#java -jar knopflerfish_osgi_2.1.0.jar

extracting 3762 files to: /home/yuru/knopflerfish_osgi_2.1.0, size=31247kb
Installed in /home/yuru/knopflerfish_osgi_2.1.0/knopflerfish.org/osgi

#cd knopflerfish_osgi_2.1.0/knopflerfish.org/osgi
#java -jar framework.jar

Knopflerfish OSGi framework, version 4.0.7
Copyright 2003-2008 Knopflerfish. All Rights Reserved.

See http://www.knopflerfish.org for more information.
Loading xargs file /home/yuru/knopflerfish_osgi_2.1.0/knopflerfish.org/osgi/init.xargs
Loading xargs file /home/yuru/knopflerfish_osgi_2.1.0/knopflerfish.org/osgi/props.xargs
Installed: file:jars/log/log_all-2.0.0.jar (id#1)
Installed: file:jars/cm/cm_all-2.0.0.jar (id#2)
Installed: file:jars/console/console_all-2.0.0.jar (id#3)
Installed: file:jars/component/component_all-2.0.0.jar (id#4)
Installed: file:jars/event/event_all-2.0.0.jar (id#5)
Installed: file:jars/util/util-2.0.0.jar (id#6)
Installed: file:jars/crimson/crimson-2.0.0.jar (id#7)
Installed: file:jars/jsdk/jsdk_api-2.5.jar (id#8)
Installed: file:jars/bundlerepository/bundlerepository_all-2.0.1.jar (id#9)
Installed: file:jars/device/device_all-2.0.0.jar (id#10)
Installed: file:jars/useradmin/useradmin_all-2.0.0.jar (id#11)
Installed: file:jars/http/http_all-2.1.0.jar (id#12)
Installed: file:jars/frameworkcommands/frameworkcommands-2.0.0.jar (id#13)
Installed: file:jars/logcommands/logcommands-2.0.0.jar (id#14)
Installed: file:jars/cm_cmd/cm_cmd-2.0.0.jar (id#15)
Installed: file:jars/consoletty/consoletty-2.0.0.jar (id#16)
Installed: file:jars/consoletelnet/consoletelnet-2.0.1.jar (id#17)
Installed: file:jars/remotefw/remotefw_api-2.0.0.jar (id#18)
Installed: file:jars/desktop/desktop_all-2.0.1.jar (id#19)
Installed: file:jars/httproot/httproot-2.0.0.jar (id#20)
Started: file:jars/log/log_all-2.0.0.jar (id#1)
Started: file:jars/crimson/crimson-2.0.0.jar (id#7)
Started: file:jars/cm/cm_all-2.0.0.jar (id#2)
Started: file:jars/console/console_all-2.0.0.jar (id#3)
Started: file:jars/component/component_all-2.0.0.jar (id#4)
Started: file:jars/event/event_all-2.0.0.jar (id#5)
Started: file:jars/device/device_all-2.0.0.jar (id#10)
Started: file:jars/useradmin/useradmin_all-2.0.0.jar (id#11)
Started: file:jars/bundlerepository/bundlerepository_all-2.0.1.jar (id#9)
Started: file:jars/consoletty/consoletty-2.0.0.jar (id#16)
Started: file:jars/consoletelnet/consoletelnet-2.0.1.jar (id#17)
Started: file:jars/frameworkcommands/frameworkcommands-2.0.0.jar (id#13)
Started: file:jars/logcommands/logcommands-2.0.0.jar (id#14)
Started: file:jars/cm_cmd/cm_cmd-2.0.0.jar (id#15)
Started: file:jars/desktop/desktop_all-2.0.1.jar (id#19)
Started: file:jars/http/http_all-2.1.0.jar (id#12)
Started: file:jars/httproot/httproot-2.0.0.jar (id#20)
> [stdout] Framework launched

Then Knopflerfish OSGi Desktop is starting up.




Done.

Author: YuRu-Wei 2008/09/28 @ Shu-Te University CSIE Lab

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 YuRu 的頭像
    YuRu

    YuRu's Life

    YuRu 發表在 痞客邦 留言(0) 人氣()