View Single Post
Old 03-06-2011, 03:52 PM   #2
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
Yep, good findings.

Using JNI instead has given me headaches, though. I have not been able to proper unload a library (loading JNI libs works fine otherwise, given you add the relevant permissions) - and it does not unload automatically for me. That's relevant because at the _second_ start of a kindlet, it will refuse to load the JNI lib again because it is already loaded. It will not, however, allow access to the methods defined in this lib anymore. So I dropped my approaches towards JNI for now.

The "faster way" after editing permissions is "/etc/init.d/framework restart".

You can do a lot of things by "just running" applications the way you found. However, the main difference compared to the telnet/ssh approaches is that the latter will provide apps with a full fledged (pseudo) tty. Some (mainly UI-based) apps simply don't work well without a TTY. Running apps that just do simple input/output will work fine.
hawhill is offline   Reply With Quote