Hi, I'm a beginner of Java. I executed a shell script from an applet. Its not raising any error while compiling. But while running the applet, the script is not at all executing. While searching the forum, I found that the security policy has to be changed in order to execute a command. What I've to change in the security policy? Where the security policy will be in solaris 8.0? Can I change it as a user? Hope u'll reply me soon. Thanks in advance.
You can use a tool called 'policytool'. This is GUI tool, you can change the 'java.policy' file according your needs using this tool.
Noramlly java.policy file will be in JAVA_HOME/jre/lib/security directory, you can open this file using policytool and make necessory changes.
posted 15 years ago
Hey... I want to graphically represent the virtual memory status of a server. So I'm using applet. But this needs to be dynamic. So I want to get input datas then and there. For this I want to execute the system command. Here is my program :