I downloaded a game’s source code and the file contained a res folder and a src folder. The res folder has a bunch of jpg’s and sound files and the src has all the source code. So I basically created a new project in eclipse and copy/pasted everything. None of the classes have any problems, but once I hit run I get a blank applet and a bunch of exceptions. I’m thinking it has to do with the fact that I don’t really know where to put the res folder so I placed it in a directory named bin. Could this be the reason or is there something else? HELPPPP!
I think your username is relevant (No offence). Try putting the res folder in the same directory as your src folder. Also, where are you learning java from (assuming your pretty new)?
Right… not working. I’ve placed the res folder every and nothing. Here is my directory. I have a workspace titled GameWorkspace. Inside there are three folders: .metadata, MyProject, src. The metadata folder comes by default when I create a new workspace. MyProject is the title of the project name I created in eclipse. Src has all my packages and classes. If I go into the MyProject folder I have the following: .settings, bin, src, .classpath, .project. So where do I place it??
EDIT: I got it to work!!! Here’s how: I right clicked on my project-> properties -> java build path-> source-> Add Folder-> Create new folder-> typed in res-> pasted everything inside it!! Wooo
Why does garbage like this always get posted and always with a “no offence” at the end. He was asking a question, answer if you can/want, and move on. I am replying to your comment because it was so blatant and irrelevant, but I see it all the time and hope people will mature and grow out of it. Can we tone down on the judgment and hate, especially since most of the people on this forum are by no means advanced programmers. This kind of attitude will not take you far in life.
I meant it in a playful way, not necessarily “you suck, get off the forum”. I asked him to put the res folder in the project directory, which should start some progress on getting the question answered. I didn’t mean any harm, and I do think I should have explained how those directories worked (classpaths and all), but I really don’t know much correct information about them. My bad!