View Single Post
  #3   Spotlight this post!  
Unread 18-01-2013, 16:53
Johnbot's Avatar
Johnbot Johnbot is offline
Es Brokein!
AKA: John Westhoff
FRC #4791 (Pandroids)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Horsham, PA
Posts: 92
Johnbot is just really niceJohnbot is just really niceJohnbot is just really niceJohnbot is just really niceJohnbot is just really nice
Re: NetBeans Java code compile problems

Quote:
Originally Posted by stephmak View Post
Hello everyone,

I was attempting to clean and build our robot code in Netbeans, but it failed to build and gave me an error on this line: "package org.usfirst.frc4621.4621Rev1_1;". I am no strager to Java, so I double-checked it for errors and found none. One of my team members said that he had seen a discussion about the problem and how to fix it here on Chief Delphi but I searched and was unable to find any mention of it here.

Can anyone give me some help?
Thanks!!
Your package, org.usfirst.frc4621.4621Rev1_1, has an invalid name.
You can't have part of a package name start with a number, it must start with a letter or underscore. Just refactor/rename your package to start the bolded part of your package name to not start with a number.
__________________

2011-2014 - FRC 2607 - Student
2012-2012 - FLL 2249 - Coach
2015- ???? - FRC 4791 - Mentor

Last edited by Johnbot : 18-01-2013 at 16:59.