I’ve got an older laptop (256mb RAM, 1.6ghz Pentium 4) that I kind of want to use as a programming laptop (so I have something to take to programming meetings and not always have to borrow one). However, it doesn’t meet the minimum requirements to run NetBeans (I’ve tried anyway…those requirements are there for a reason ). Is there any other, leaner, IDE that I could use? I know there are other options, but is there a way to run/get the code on the cRio other than using NB?
I’m willing to run Windows or Linux, I’m bi-operating-system
I’m not sure what options you’ve chosen to add to the install, but netbeans (6.80) is able to run on a 7year old sony FRV31 laptop with win xp 512M ram and 1.6g cpu.
It takes about 90 sec to load but it responds as fast as i can type java code.
all you need is Ubuntu and to install netbeans and the stuff, you can then use your choice of editors to edit the robot code (go nano!) and build it with ant
B.Johnston:
As my post states, the laptop has 256mb of RAM. Not 512. As per the NetBeans system requirements, 512mb of RAM is required. I did attempt to use it, and while it would start, and I could write code, it was too slow to be usable. It could not even keep up with my typing (which is not supernaturally fast by any means).
Robototes2412:
How do I build with Ant? (I know it’s how build parameters are passed, but how do I make an Ant script/use it?) And why do you say I should install Netbeans?
I know this probably isn’t the answer you are looking for, but… You can use any editor, and compile with a very simple one-line batch file.
If you want the color coding, syntax checking, etc. that comes with a typical IDE; then follow the other folks’ advice.
If you just want to modify or write a few lines of code and compile it along with other pre-existing code; just use any non-WYSIWYG editor, and the command line syntax that is explained in the Windows or Linux sections of this tutorial. http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html
IDEs are fine things to use (I use NetBeans); but they are certainly not required.
Blake
PS: If there is some complicated magic that a NetBeans plug-in uses to xfer results into the cRIO, then my suggestion falls flat. If that step can also be accomplished with a command line or two in a batch file, then you are off to the races.
Take a look at the PS I added to my post while you weren’t looking
However, I am confident (I would bet a nice dinner but not a paycheck) that a very small handful of command line entries will accomplish the transfer.
Take a look at any log files the Netbeans method leaves behind, or open up (via Notepad/Wordpad) any built-in batches/scripts/macros to see what is happening under the covers. If you still can’t find out what is going on behind the curtain, contact whoever supports the Java/cRIO code given to teams and/or put into NetBeans. Somebody will know how to do the transfer from a command line.
I have never worked with an FRC cRIO; but heck, it’s just a computer. Hopefully what you FRC guys are using is just a bundling of standard methods with a tiny bit of NetBeans added-value wrapped around it.
I know for a fact that stuff is FTP’d onto the cRio, but I don’t know what to put on there, or where to put it. Yeah, if no one else has any other ideas, I’ll start looking for a FRC-connected person.
I pretty much know that there are other IDE’s now. What I need to know is how to get the code onto the cRio. How do I use the Ant script?
Also, if I where to use another IDE (or text editor for that matter), how do I make sure that when I turn it into a jar, the interpreter can find the WPILibJ stuff?