|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
using an IDE other than NetBeans for Java
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 ![]() thanks Isaac |
|
#2
|
|||
|
|||
|
Re: using an IDE other than NetBeans for Java
isaac,
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. bruce |
|
#3
|
||||
|
||||
|
Re: using an IDE other than NetBeans for Java
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
|
|
#4
|
|||
|
|||
|
Re: using an IDE other than NetBeans for Java
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? |
|
#5
|
||||
|
||||
|
Re: using an IDE other than NetBeans for Java
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/tutor...ava/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. Last edited by gblake : 13-06-2010 at 22:00. |
|
#6
|
|||
|
|||
|
Re: using an IDE other than NetBeans for Java
Quote:
|
|
#7
|
||||
|
||||
|
Re: using an IDE other than NetBeans for Java
Quote:
![]() 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. Blake Last edited by gblake : 13-06-2010 at 22:15. |
|
#8
|
|||
|
|||
|
Re: using an IDE other than NetBeans for Java
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.
|
|
#9
|
||||
|
||||
|
Re: using an IDE other than NetBeans for Java
the FRC ant script is all that is needed, I use CLI to demonstrate programming to freshmen
|
|
#11
|
|||
|
|||
|
Re: using an IDE other than NetBeans for Java
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? Last edited by isaacdl : 14-06-2010 at 11:50. Reason: clarification |
|
#12
|
||||
|
||||
|
Re: using an IDE other than NetBeans for Java
I am assuming you use linux in my demo
cd to your project directory run this: Code:
ant build deploy |
|
#13
|
|||||
|
|||||
|
Re: using an IDE other than NetBeans for Java
$20 for a 1Gb RAM stick from Newegg will solve all these problems.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Java Native Interface (For using code made in windriver) | biojae | Java | 3 | 07-03-2010 22:46 |
| NetBeans Java Debugger Connects once, but not again | David Fort | Java | 3 | 20-02-2010 12:17 |
| Java/Netbeans Camera Code for Classmate PC and Axis Camera | joshholat | Programming | 1 | 23-01-2010 14:59 |
| Netbeans/Overall Java/Code help!!! | a kenny03 | Java | 5 | 18-01-2010 22:32 |
| Using a router other than WRT610N | mgurgol | General Forum | 2 | 01-05-2009 16:50 |