View Single Post
Posts: 306 | Thanked: 603 times | Joined on Jan 2012 @ Belgium
#211
Originally Posted by santiago View Post
, but i missed something about unzip $JAR "specific file and parameters that i miss.." -destination $MIDLET_NAME.png, then i left it like this and i used "java" icon in my path then..
The unzip package is not available on the emulator

/home/developer $ devrootsh apt-get update
/home/developer $ devrootsh apt-get install unzip
...
E: Package unzip has no installation candidate

/home/developer $ devrootsh apt-cache search unzip
zlib-bin - compression library - sample programs
busybox-power - Tiny utilities for small and embedded systems - enhanced package

So I had to install the busybox-power package. However, the unzip implementation it provides does not support the -aa -j command line switches:

BusyBox v1.19.3 (Debian 1.19.3power1) multi-call binary.

Usage: unzip [-opts[modifiers]] FILE[.zip][LIST] [-x XLIST] [-d DIR]

Extract files from ZIP archives

-l List archive contents (with -q for short form)
-n Never overwrite files (default)
-o Overwrite
-p Send output to stdout
-q Quiet
-x XLST Exclude these files
-d DIR Extract files into DIR

Davy