Search:

Type: Posts; User: thealley

Search: Search took 0.26 seconds.

  1. Replies
    3
    Views
    284

    Re: NetBeans jdk question

    Hi GregBrannon,

    I'm running the jar file without NetBeans.

    As you hinted, I'm asking how to modify the jar file created in Netbeans to run using 1.7 on a 1.8 pc.

    Thanks.
  2. Replies
    3
    Views
    284

    NetBeans jdk question

    Hello,

    I have this program that loads pdf files and renames them (back to pdf) according to some content inside. Everything worked fine with jdk 1.7. To some extent, it worked ok also with jdk...
  3. Replies
    11
    Views
    568

    Re: FileNotFoundException error

    Hi,

    I sort of solved the issue by saving the output of the finalPath variable to a text file, and then call it back from the text file in the last part of the program... i.e....
  4. Replies
    11
    Views
    568

    Re: FileNotFoundException error

    I don't know, probably I was experimenting with different possibilities.

    It's still a FileNotFoundException though.

    Do you know what (The filename, directory name, or volume label syntax is...
  5. Replies
    11
    Views
    568

    Re: FileNotFoundException error

    It did not print out because I had put the println after the code that was generating the error. Now I've changed the order to make the println initialise before the error kicks in. The bold part is...
  6. Replies
    11
    Views
    568

    Re: FileNotFoundException error

    If I insert the value manually, there is no problem because the content of the variable is already initialised (i.e. manually)

    On the other hand, if the value has to be generated by...
  7. Replies
    11
    Views
    568

    Re: FileNotFoundException error

    Hi,

    Instead of making a small program, may I please rephrase my problem after I've discovered something else?

    So the problem lies with this part:



    Now I've tried to replace the extension...
  8. Replies
    11
    Views
    568

    Re: FileNotFoundException error

    Hi,

    These are the println outputs:

    extension: test.pdf
    finalPath: C:\Users\MyName\Desktop\test.pdf

    (PS: I've also tried the code with forward slashes, still to no avail: String path =...
  9. Replies
    11
    Views
    568

    FileNotFoundException error

    Good afternoon,

    First of all I would like to thank the administrators for accepting my registration to the forum.

    My problem is that I'm running the code hereunder to generate a new file from...
Results 1 to 9 of 9