Search
j0ke.net Open Build Service
>
Projects
>
Java
>
jpackage-utils
> javawswrapper
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File javawswrapper of Package jpackage-utils
#!/bin/bash # /usr/local/java/bin/jarwrapper - the wrapper for binfmt_misc/jar if [ $# -lt 1 ] then echo "Use this program to execute a Java Web Start file" echo -e "\t$0 <file>.jnlp" read exit 1; fi if ! which javaws > /dev/null 2>&1 then echo '***************************************************************************************' echo "* No 'javaws' found in path ... can't start the java web start application *" echo "* Perhaps you have to select a different Java Runtime Environment by calling as root: *" echo "* /usr/sbin/update-alternatives --config java *" echo "* Note: There is no Java Web Start for 64bit Java available! *" echo '***************************************************************************************' echo echo echo echo Press key to continue read exit 1 fi exec javaws $1