Search:

Type: Posts; User: ajayajayaj

Page 1 of 2 1 2

Search: Search took 0.10 seconds.

  1. Re: Anyone would like to help me? I really need your help???

    To randomly generate a number between 1 and 250 you type Math.random()*249+1
  2. Replies
    4
    Views
    2,509

    Re: Jar signing error.

    For another reason my javac command wont work so I have to use automatic ways.
    I've uninstalled and re installed java many times.
  3. Replies
    4
    Views
    2,509

    Re: Jar signing error.

    Here you go:
  4. Replies
    4
    Views
    2,509

    Jar signing error.

    For an unknown reason when I use the jarsigner command it returns the error of:
  5. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    When I've googled how it says to use jar signer but it gives the error of:
  6. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    I don't understand the link you gave to me about signing jars.
  7. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    I have figured out the problem.
    I had a folder with the exact same name for no reason.

    Also, now with that working, do I have to have all users of my applet to have the same .java.policy file as...
  8. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    I can't find any real reasons why it does that.

    --- Update ---

    Do you know any way I could run this differently?
  9. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    Here is the complete program that compiles, executes and shows the problem for testing:

    public class TestProgram{
    public static void main(String args[]){
    try {
    FileOutputStream test = new...
  10. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    Yes it does exist.
    The error message is:


    --- Update ---

    What do you mean by:
  11. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    For some unknown reason, now, I can't access any directory.
    But only with that command.
    I'm using:

    try {
    FileOutputStream out = new FileOutputStream(new File("C:\\users\\Ajay\\desktop\\"));...
  12. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    For testing purposes, I tried accessing many directories.
    When I even tried just accessing C:\users\<user>\Desktop\ it wouldn't work!
  13. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    I get the same error!
  14. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    Does trying the code in an app mean making a second applet with just hat code?
  15. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    Oh sorry, I moved the file from the folder instead of copying it.
    Now it says the original error:
  16. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    I did the all permissions.
    But now I get the error:
  17. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    I couldn't find the .java.policy file.
  18. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    I didn't find it in there?
  19. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    How do you do that?
    Where is the user dir?
    Do you have to have every computer to have that file?
  20. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    So you add that to your applet?
  21. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    So how do you give it the permission?
  22. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    It said:


    --- Update ---

    Also, what I understood from the link you gave me was you have to add the text:


    to run the applet instead of the normal code.
  23. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    On what browser?
  24. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    Well, I selected Advanced Then selected show console.
    But where is the cosole?
  25. Replies
    54
    Views
    32,331

    [SOLVED] Re: Access Denied!

    I can't find the button.
Results 1 to 25 of 40
Page 1 of 2 1 2