Hey guys I’m having a tough time with this one and have been unable to find much through Googling and researching, so I thought I would just ask you guys. I’ve been using NetBeans to develop my games in (using Slick2D) and I’m trying to switch over to JDeveloper (because that’s the IDE we use at work) and I can’t seem to get even a test game up and running.
I have no problems setting up the Slick library and linking the classpath to it (in Project Properties). I am even able to set the runtime Java Options to (in my case) -Djava.library.path=“C:\Program Files (x86)\Java\slick”, just like it is in my NetBeans projects. However, every time I try to run an application (Slick application that is, regular ones work just fine) I get a windowed error message that says “Could not find the main class: Files. Program will exit” with “Java Virtual Machine Launcher” as the window’s title.
I’m thinking that it has something to do with an incorrectly typed path somewhere (the idea being that the “Files” from the error is part of the \Program Files (x86)\Java path, but I’ve checked all my paths in the project properties that have “Files” in it and they all are fine.
Has anyone else tried using JDev with Slick2D and been successful and if so, do you have any ideas on how to fix my problem?
Thanks guys.