I'm looking for a stanadlone application, script or library (better Java) to generate cab files on Linux.
May I ask which distribution you are using?
If you are using Ubuntu, the package cabextract can read and extract a .cab file while the pacakge lcab lets you create one.
You may install the lcab
package via the apt-get install
command:
sudo apt-get install lcab
You may search the packages you want at Ubuntu Packages Search.
Please let me know if you are not using Ubuntu.