Search:

Type: Posts; User: Lora_91

Search: Search took 0.08 seconds.

  1. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    Sorry for the late reply, but it's finally working thanks to all of your help, so I believe you are worthy of a big thank you! =)
  2. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    Then how should I go about saving and storing information? Would it work if the .jar file is in a specific folder and the .txt files is in the same folder and use that folder as root?

    Something...
  3. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    No, I want it to refer to within the .jar file, same place the .txt can currently be found when it was extracted together with the rest of the project.



    indaLogin.jar
    Data
    ...
  4. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    It confuses me as how to it can work so well in Eclipse but not outside of it, I have no idea how else to do it.

    With:



    public void saveAdminData() throws IOException
    {
    try...
  5. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    Would this be more accurate?

    URL fileName = MainFrame.class.getResource("/data/members/user_" + i + ".txt");

    When used within Eclipse it wouldn't work unless I used "\\" between them for the...
  6. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    Unfortunetely I seem to be unable to solve the problem after all, it's as I said similar but not exactly the same.

    Error:

    Microsoft Windows [Version 6.2.9200]
    (c) 2012 Microsoft Corporation....
  7. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    It does not work, it's what I had from the beginning when I posted this thread. =/

    Edit:

    Odd, now it does work... both by opening it by console and double clicking it. I'm noticing some other...
  8. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    Aye, I opened the file in winrar and it contains the folders:


    images
    indaSupport.png
    etc
    LoginSystem
    (lots of class files)
    META-INF
    MANIFEST.MF
  9. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    Aye, the LoginSystemSource is the source folder.



    ProjectName
    LoginSystemSource
    images
    indaSupport.png

    The LoginSystemSource is the source folder which holds the...
  10. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    LoginSystem (Main package)
    LoginSystemSource (Source folder)
    images (Image folder)
    indaSupport.png

    Would it then perhaps be...
  11. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    I tried removing all of the '/' at the start of every filepath line but still got the same result, same error. =/

    --- Update ---



    Yes, the program works perfectly within Eclipse, but not at...
  12. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    Hm, I suppose the end result I get in the way I'm using it is the same as the example you posted, as of currently all of the filepaths the images use is based on String array variables so that the...
  13. [SOLVED] Extracting Eclipse project as runnable java isn't working

    Greetings!

    I've been working quite a bit with a login system the past couple of months and I now have a version that I would like to try "for real" by extracting it as a runnable .jar or .exe...
Results 1 to 13 of 13