Firstly, thanks for your quick answer. I'm sorry to zap it from the documentation.
I also tried to make a custom launcher Felix as shown in the documentation and got this issue : $ javac -Xlint:unchecked -d . -classpath lib/org.apache.felix.framework-0.8.0-SNAPSHOT.jar:lib/org.osgi.core-0.8.0-SNAPSHOT.jar src/example/Main.java src/example/Main.java:22: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Map configMap.put(Constants.FRAMEWORK_SYSTEMPACKAGES, ^ src/example/Main.java:27: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Map configMap.put(BundleCache.CACHE_PROFILE_DIR_PROP, "cache"); ^ 2 warnings It happened because the raw Map type's lack of specific type information for its entries makes this call unsafe, and so the compiler reports the warning. I use Sun JDK 1.5. Does anyone have suggestion for it please? Thanks. Le lundi 20 novembre 2006 à 11:42 +0100, Karl Pauls a écrit : > Hello Thanh, > > it is possible to specify the profile name via a property hence, > > java -Dfelix.cache.profiledir=<profile-location> -jar felix.jar > > should do the trick. Additionally, you could look into using the > config.properties file to configure this. > > regards, > > Karl > > On 11/20/06, Thanh NGUYEN <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I would like to know if there is anyway to start Felix automatically at > > boot as daemon with a given Felix profile, instead of typing java -jar > > bin/felix.jar and entering the profile each time. > > > > Thanks a lot for your advices. > > > > NT > > > > > >