views:

384

answers:

1

I'm a Java noob (but have been programming for 25+ years, and have worked with OO languages from day 1).

All of a sudden I started getting this error:

Your active platform is: JDK_1.6, but the corresponding property "platforms.JDK_1.6.home" is not found in the project's properties files.

Not sure what caused this condition, and not sure what Java's asking me to do. I'm working in the NetBeans IDE. The last thing I attempted to do is add some binary (image) resources to my project.

+1  A: 

It means you haven't told netbeans where your Java 1.6 installation is. Go into settings, add the JDK (JDK->Add->New), and select the directory above 'bin' for your JDK16.

Chaos
Nope! That didn't do it. And this is a project that I've been working with for a while, so I'm sure my JDK is set right....
ראובן
Certainly looks like a netbeans error - your project files are just ascii text, I'd check there - see if the variable is not there or the file is corrupt (the property file). Maybe some weird unescaped quote or something?
Chaos

related questions