This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi All, I'm a complete noob, who's just trying to get a downloaded project running in Netbeans 6.5.1, all class librarys are in the project, all with source, and there are no errors shown in the project window. When I run the main class, I get the following error, can somebody decipher this and offer some advice please?
Caused by: java.lang.ClassNotFoundException: java.library.path
at java.security.AccessController.doPrivileged(Native Method)
Could not find the main class: java.library.path. Program will exit.
I think it's something to do with the JRE or SDK, but I don't know what Any help greatly appreciated..
What is the full name (including the package) of the class with the main() method? Exactly how are you going about running the class? Looks like NetBeans thinks that you class is named "path" and has a package name of "java.library". Both of these are suspect to me (class names usually start with caps, and only the JVM classes should have "java" as the root package name.