Go to Post An explanation of the reasoning behind design decisions will almost always result in a more thorough understanding of the solution than analysis alone can obtain. - Travis Covington [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-06-2010, 17:50
isaacdl isaacdl is offline
I have a white hat..it's just dirty
AKA: Isaac Dontje Lindell
FRC #3018 (Nordic Storm)
 
Join Date: Oct 2009
Rookie Year: 2010
Location: St. Peter
Posts: 32
isaacdl is an unknown quantity at this point
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   Spotlight this post!  
Unread 13-06-2010, 19:39
B.Johnston B.Johnston is offline
Registered User
AKA: Bruce Johnston
no team
Team Role: Mentor
 
Join Date: Apr 2006
Rookie Year: 2004
Location: Niagara Falls
Posts: 44
B.Johnston will become famous soon enough
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   Spotlight this post!  
Unread 13-06-2010, 19:41
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
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   Spotlight this post!  
Unread 13-06-2010, 19:48
isaacdl isaacdl is offline
I have a white hat..it's just dirty
AKA: Isaac Dontje Lindell
FRC #3018 (Nordic Storm)
 
Join Date: Oct 2009
Rookie Year: 2010
Location: St. Peter
Posts: 32
isaacdl is an unknown quantity at this point
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   Spotlight this post!  
Unread 13-06-2010, 21:57
gblake's Avatar
gblake gblake is offline
6th Gear Developer; Mentor
AKA: Blake Ross
no team (6th Gear)
Team Role: Mentor
 
Join Date: May 2006
Rookie Year: 2006
Location: Virginia
Posts: 1,940
gblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond repute
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.
__________________
Blake Ross, For emailing me, in the verizon.net domain, I am blake
VRC Team Mentor, FTC volunteer, 5th Gear Developer, Husband, Father, Triangle Fraternity Alumnus (ky 76), U Ky BSEE, Tau Beta Pi, Eta Kappa Nu, Kentucky Colonel
Words/phrases I avoid: basis, mitigate, leveraging, transitioning, impact (instead of affect/effect), facilitate, programmatic, problematic, issue (instead of problem), latency (instead of delay), dependency (instead of prerequisite), connectivity, usage & utilize (instead of use), downed, functionality, functional, power on, descore, alumni (instead of alumnus/alumna), the enterprise, methodology, nomenclature, form factor (instead of size or shape), competency, modality, provided(with), provision(ing), irregardless/irrespective, signage, colorized, pulsating, ideate

Last edited by gblake : 13-06-2010 at 22:00.
  #6   Spotlight this post!  
Unread 13-06-2010, 22:01
isaacdl isaacdl is offline
I have a white hat..it's just dirty
AKA: Isaac Dontje Lindell
FRC #3018 (Nordic Storm)
 
Join Date: Oct 2009
Rookie Year: 2010
Location: St. Peter
Posts: 32
isaacdl is an unknown quantity at this point
Re: using an IDE other than NetBeans for Java

Quote:
Originally Posted by gblake View Post
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
I don't absolutely need an IDE, but how would you recommend getting the code onto the cRio in a format that it'll run?
  #7   Spotlight this post!  
Unread 13-06-2010, 22:13
gblake's Avatar
gblake gblake is offline
6th Gear Developer; Mentor
AKA: Blake Ross
no team (6th Gear)
Team Role: Mentor
 
Join Date: May 2006
Rookie Year: 2006
Location: Virginia
Posts: 1,940
gblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond repute
Re: using an IDE other than NetBeans for Java

Quote:
Originally Posted by isaacdl View Post
I don't absolutely need an IDE, but how would you recommend getting the code onto the cRio in a format that it'll run?
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.

Blake
__________________
Blake Ross, For emailing me, in the verizon.net domain, I am blake
VRC Team Mentor, FTC volunteer, 5th Gear Developer, Husband, Father, Triangle Fraternity Alumnus (ky 76), U Ky BSEE, Tau Beta Pi, Eta Kappa Nu, Kentucky Colonel
Words/phrases I avoid: basis, mitigate, leveraging, transitioning, impact (instead of affect/effect), facilitate, programmatic, problematic, issue (instead of problem), latency (instead of delay), dependency (instead of prerequisite), connectivity, usage & utilize (instead of use), downed, functionality, functional, power on, descore, alumni (instead of alumnus/alumna), the enterprise, methodology, nomenclature, form factor (instead of size or shape), competency, modality, provided(with), provision(ing), irregardless/irrespective, signage, colorized, pulsating, ideate

Last edited by gblake : 13-06-2010 at 22:15.
  #8   Spotlight this post!  
Unread 13-06-2010, 22:33
isaacdl isaacdl is offline
I have a white hat..it's just dirty
AKA: Isaac Dontje Lindell
FRC #3018 (Nordic Storm)
 
Join Date: Oct 2009
Rookie Year: 2010
Location: St. Peter
Posts: 32
isaacdl is an unknown quantity at this point
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   Spotlight this post!  
Unread 14-06-2010, 10:49
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
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
  #10   Spotlight this post!  
Unread 14-06-2010, 11:10
AJ R's Avatar
AJ R AJ R is offline
RoboGeek
FRC #1714 (More Robotics)
Team Role: College Student
 
Join Date: Nov 2006
Rookie Year: 2001
Location: Milwaukee, WI
Posts: 108
AJ R is a splendid one to beholdAJ R is a splendid one to beholdAJ R is a splendid one to beholdAJ R is a splendid one to beholdAJ R is a splendid one to beholdAJ R is a splendid one to beholdAJ R is a splendid one to behold
Re: using an IDE other than NetBeans for Java

Have you tried eclipse? We used it at school this year and its free.
__________________
AJ



If you loose the match and the robot doesn't come back broken, you didn't drive hard enough.
  #11   Spotlight this post!  
Unread 14-06-2010, 11:47
isaacdl isaacdl is offline
I have a white hat..it's just dirty
AKA: Isaac Dontje Lindell
FRC #3018 (Nordic Storm)
 
Join Date: Oct 2009
Rookie Year: 2010
Location: St. Peter
Posts: 32
isaacdl is an unknown quantity at this point
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   Spotlight this post!  
Unread 14-06-2010, 21:52
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
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
it will build and deploy
  #13   Spotlight this post!  
Unread 14-06-2010, 22:42
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: using an IDE other than NetBeans for Java

$20 for a 1Gb RAM stick from Newegg will solve all these problems.
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 23:08.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi