Search:

Type: Posts; User: Norm

Search: Search took 0.04 seconds.

  1. Thread: RMI problem

    by Norm
    Replies
    21
    Views
    6,556

    Sorry, No more ideas. Your code works for me. ...

    Sorry, No more ideas. Your code works for me. Something must be different, but I don't know what.
  2. Thread: RMI problem

    by Norm
    Replies
    21
    Views
    6,556

    Yes, it worked on my computer. Open the...

    Yes, it worked on my computer.

    Open the .policy file in policytool, look at its contents, maybe add something to it and then save it again to be sure it has the correct contents.
  3. Thread: RMI problem

    by Norm
    Replies
    21
    Views
    6,556

    How do you know this? Did you create it with...

    How do you know this?
    Did you create it with the policytool?

    On Windows to execute any program their is a cmd/command issued somewhere.

    To give Permission to an applet, either sign the jar...
  4. Thread: RMI problem

    by Norm
    Replies
    21
    Views
    6,556

    Don't know what the difference is. Here is the...

    Don't know what the difference is. Here is the contents of RegisterIt.bat and StartClient.bat
    Do you have a valid .policy file?
  5. Thread: RMI problem

    by Norm
    Replies
    21
    Views
    6,556

    Please show the FULL contents of the command...

    Please show the FULL contents of the command prompt console for when you get the error.

    Where is the program: HelloApplet ? You don't show it in the code posted.
  6. Thread: RMI problem

    by Norm
    Replies
    21
    Views
    6,556

    I copied your code to a folder, compiled it and...

    I copied your code to a folder, compiled it and used the following files to exec it:

    mypolicy.policy:

    /* AUTOMATICALLY GENERATED ON Tue May 18 11:13:23 CDT 2010*/
    /* DO NOT EDIT */

    grant{ ...
  7. Thread: RMI problem

    by Norm
    Replies
    21
    Views
    6,556

    After you compile the java programs, can you go...

    After you compile the java programs, can you go to the folder with the .class files using a command prompt and execute the programs by using the java command?

    I don't see the "java-applet" you...
  8. Thread: RMI problem

    by Norm
    Replies
    21
    Views
    6,556

    Sorry, I'm working on Windows and am used to...

    Sorry, I'm working on Windows and am used to using the command prompt. The IDEs have always been so slow I've never bothered trying to use them.
    What computer/OS are your working with?

    The...
  9. Thread: RMI problem

    by Norm
    Replies
    21
    Views
    6,556

    sorry, I don't know anything about your IDE. ...

    sorry, I don't know anything about your IDE.

    If you copy your classes to a work folder and open a command prompt (or write a batch file) you can issue the java command to execute your programs....
  10. Thread: RMI problem

    by Norm
    Replies
    21
    Views
    6,556

    Have you tried it outside of the IDE? What did...

    Have you tried it outside of the IDE?
    What did your command line look like?
    Did it have -Djava.security.policy=... option?
Results 1 to 10 of 10