Go to Post It's like FIRST saying "Well it was too hard, so we give up. Lets give the kids something easier to do." How is that supposed to inspire kids? - Mike [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 26-10-2009, 13:37
andrewmerrill andrewmerrill is offline
Registered User
FRC #1540 (The Flaming Chickens)
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2004
Location: Portland, OR
Posts: 3
andrewmerrill is an unknown quantity at this point
Java Questions

I'm trying to get a sense of what the capabilities of the new Java platform are going to be. I'd love any help those who know might be able to provide to any of the following questions.

1) Is it easy to see the output from System.out.println() on your PC?

2) What happens when your Java program throws an Exception? Do you get the Exception message and stack trace on your PC?

3) Does remote debugging (breakpoints, watching variables) work?

4) Assuming that they are available, has anyone tried using Java's Threads on a cRio? Does they work well?

5) We've heard that the Java system we will be using for FRC is based on the Java ME edition, but Java ME comes in two configurations (CLDC and CDC) and I haven't heard anyone specify which we will be using. As I understand it, the system we're using is based on Squawk, which in turn claims to be CLDC 1.1 compatible, but it would be nice to have this confirmed from someone who knows for sure.

The CLDC 1.1 (JSR 139) configuration (documented here: http://java.sun.com/javame/reference/apis/jsr139/) has classes like Thread, Vector, Hashtable, Random, and a Math class with floating point functions).

The older CLDC 1.0 (JSR 30) configuration (documented here: http://java.sun.com/javame/reference/apis/jsr030/) has a Math class without any floating point functions like sin, cos, etc.

The much richer CDC 1.1.2 (JSR 218) configuration (documented here: http://java.sun.com/javame/reference/apis/jsr218/) has many more classes, including (for example) ArrayList, LinkedList, HashMap, TreeMap, HashSet, TreeSet, BitSet, etc.

Thanks in advance for any help you can provide. I'm the software mentor for my team and I'd like to give my students a clearer picture of what the FRC Java system will be like.

Andrew Merrill
Software Mentor for team 1540, the Flaming Chickens
Reply With Quote
  #2   Spotlight this post!  
Unread 26-10-2009, 14:50
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Java Questions

Hi Andrew,

In the future please post your questions in the official Java Beta Test FIRST Forum so that all teams and beta testers can see them: http://forums.usfirst.org/forumdisplay.php?f=1264

I have posted your questions (and my answers to them) on that forum, but my post is awaiting moderator approval before showing up.

Jared

(The quick version of my answers:
1. Yes
2. Yes, sent to PC.
3. Not sure; haven't tried
4. Yes, they work fine.
5. Java ME is a minimal specification. Believe Squawk's documentation, but there are some extras as well)

Last edited by Jared Russell : 26-10-2009 at 14:56.
Reply With Quote
  #3   Spotlight this post!  
Unread 26-10-2009, 15:42
andrewmerrill andrewmerrill is offline
Registered User
FRC #1540 (The Flaming Chickens)
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2004
Location: Portland, OR
Posts: 3
andrewmerrill is an unknown quantity at this point
Re: Java Questions

Thanks for the quick reply! BTW, yesterday I did post these questions to the official Java Beta Test Forum, but this morning someone deleted my post, which is why I reposted the questions here. Is there a rule that non-beta-test members can't post to the Official Beta Test Forum?

Andrew Merrill
Software Mentor for team 1540, the Flaming Chickens
Reply With Quote
  #4   Spotlight this post!  
Unread 26-10-2009, 16:13
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Java Questions

Quote:
Originally Posted by andrewmerrill View Post
Thanks for the quick reply! BTW, yesterday I did post these questions to the official Java Beta Test Forum, but this morning someone deleted my post, which is why I reposted the questions here. Is there a rule that non-beta-test members can't post to the Official Beta Test Forum?
There isn't any such rule. It looks like the FIRST forums are having problems which caused a lot of posts to be deleted, not just yours.
Reply With Quote
  #5   Spotlight this post!  
Unread 28-10-2009, 21:26
alivemyst alivemyst is offline
Registered User
no team
 
Join Date: Sep 2009
Location: California
Posts: 10
alivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of light
Re: Java Questions

FYI -- Remote debugging does exist and work in the FRC Java Beta system. It can be enabled really easily through Netbeans.
Reply With Quote
  #6   Spotlight this post!  
Unread 12-12-2009, 14:30
amk's Avatar
amk amk is offline
Registered User
AKA: Ann Kowalczyk
FRC #0503 (Frog Force)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Novi, MI
Posts: 30
amk is an unknown quantity at this point
Re: Java Questions

We are having problems getting the debugger to work.

File SQUAWK_DEBUG_ENABLED not found, starting squawk in normal mode...
Squawk command line file SQUAWK_COMMAND_LINE not found, using default args...

Anyone else having the same issues that solved this?
Reply With Quote
  #7   Spotlight this post!  
Unread 14-12-2009, 11:08
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Java Questions

There is a bug in the current version of Java in the debug, it will be fixed shortly.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
Reply With Quote
Reply


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 team1512 Java 2 21-10-2009 06:36
Java vs. C++ nickmagus Programming 3 05-09-2009 19:23
**FIRST EMAIL**/Java and Orbit Balls *****JAVA DISCUSSION*** Pjohn1959 Programming 37 31-08-2009 15:55
Java Books Yan Wang Programming 1 27-12-2002 16:26
No Java for XP Kyle Fenton Chit-Chat 21 23-07-2001 20:15


All times are GMT -5. The time now is 11:15.

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