Java AppImage

Get help on how to use the AppImageKit SDK to produce AppImages

Java AppImage

Postby probono » Sun Sep 04, 2011 5:56 pm

Image

Here is how to create a Java AppImage:

Code: Select all
wget http://javadl.sun.com/webapps/download/AutoDL?BundleId=52240

sh AutoDL?BundleId=52240

cd jre*

mkdir usr
mv bin/ javaws/ lib/ plugin/ man/ usr/
cp ./usr/lib/desktop/icons/hicolor/48x48/apps/sun-java.png .

cp ./usr/lib/desktop/applications/sun-java.desktop .

sed -i -e 's| -jar||g' *desktop

cp /somewhere/AppRun .

# Run AppImageAssistant

If you copy or symlink the resulting AppImage into /usr/local/bin or another place that is in your $PATH, then you can use it from the command line just like usual. You won't even notice that it's bundled inside an AppImage.
If you like PortableLinuxApps and the AppImage format, you might consider a donation --> Image
probono
Site Admin
 
Posts: 430
Joined: Sun Apr 25, 2010 9:41 am

Return to Packaging help

Who is online

Users browsing this forum: No registered users and 1 guest