How do I call the assertPermission function, what do i have to import?. I work with jdk1.1.5
I want to create a socket to localhost (= in IE4.0, I tried to set the security setting in IE4.0 but it didn't work.
Who is Participating?
sreedharKConnect With a Mentor Commented:
Here is how you can call it :
If you use this code, you need the SDK for Java to compile the code.  
you can just take the package, put the package in the classpath and imoport the package in your code and compile it.
Install SDK for java from Microsoft(It's free) and run the executable file classR or classD. You'll get the package or simply use the compiler jvc that comes with sdk for java..
ahanninkAuthor Commented:
Edited text of question
You realize that you HAVE to sign your applet in order to be able to do it at all - right?
ahanninkAuthor Commented:
JDK1.1.5 is used to compile the code. So the import statement is necessary. But also take care you've put the IE classes into your classpath.
Most of the time they are allocated in Windows\java\classes\
The comment of shchuka is true the applet must be signed.
Thank you for answering this question
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.