Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.


    • CommentAuthorcesar
    • CommentTimeOct 30th 2006
     
    Ok, I can export to a .jar file successfully, and the programs work, but any of my programs(that are important), that have graphical images or sound, I can export it to .jar, but it wont load any of the resources in .jar form. So how do I pack up my resources into the jar files in eclipse's export option? I have my resources in the classes folder, and it works when I run it in eclipse, but when I export it, it doesn’t work, it doesn’t load the graphics. Also are there any tips about exporting to .jar that I should know? Thank you for help.
    • CommentAuthorcolby
    • CommentTimeOct 30th 2006
     
    Can you post an excerpt of the code you are using to load your resources?

    As a side note, I would think not being able to find a sound/image critical to the game running would throw some sort of exception. I don’t know what the best practice in these sort of things is though; I tend to stay on the j2ee server side of things.
    • CommentAuthorcesar
    • CommentTimeOct 30th 2006
     
    Hi, thank you for the help,
    but I actually tried that before, and it STILL does the same thing, I have it looking like this, then I defined where the main class was.

    http://img234.imageshack.us/img234/5074/1pr6.png

    And my graphics are located here, and my test program works perfectly when I run it in Eclipse.

    http://img193.imageshack.us/img193/4776/2wu7.png

    when I made this program into a Jar file, it runs, but the screen is black, and all I see is my fps counter overlapping its-self.