Problems with Netbeans imports

Hello, I’m not familiar with Netbeans, as I prefer IntelliJ and I don’t like Netbeans at all… Anyhow, I have a little problem with it. When I create a new template (extending IterativeRobot) and try to import the following classes:

  • import java.io.File;
  • import java.net.URL;
  • import java.net.URLClassLoader;

Netbeans cannot find them. I tried everything I could think of: reinstall the plugins, create normal Java project and write the same code (it actually worked fine in a normal Java project). Please help if you can.

Thanks.

Why are you using Netbeans? It’s not a supported IDE for 2015.

You’d be better off using Eclipse and following the installation steps for WPILib on the screensteps webpage

Right, I just thought of that myself, bye Netbeans…