The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-25-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,891
Assuming sh- shells (sh, ksh, bash, zsh)

Code:
#
#  Setting up java policy
#

set pfile="$HOME/.java.policy"

>$pfile echo /* Java policy */
>>$pfile echo grant \{
>>$pfile echo permission java.security.AllPermission\;
>>$pfile echo \}\;

echo Java policy setup done \! 
echo -n "Type enter to continue:"
read