Thread: Learning Java
View Single Post
  #1   Spotlight this post!  
Unread 23-11-2010, 09:51
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
Re: Learning Java

There is an online (and downloadable) Java SE tutorial that is a good place to start learning Java. Java SE = "Standard Edition", which is the version of java designed for desktops and servers. Since Java for FRC is based on the ME ("Micro-edition"), there are some parts of the tutorial you can skip over:

Starting from http://download.oracle.com/javase/tutorial/ there are several "trails" to follow:
  1. Getting Started - "Hello World" and Java marketing
  2. Learning the Java Language - fundamentals of programming. Can skip:
    • "Enum Types" and "Annotations"
    • "Generics" section.
  3. Essential Java Classes - Cover only these sections:
    • Exceptions
    • Basic I/O - Byte, Character, Buffered, and Data streams
    • Concurrency - but skip over "High Level Concurrency Objects" and any mention of classes in java.util.concurrent.

You can find the full API documentation (javadoc) for Java ME, WPILibJ, and the Squawk JVM in the Java for FRC SDk once you install it, in sunspotfrcsdk/doc/javadoc/index.html. You can also see the Java ME API set online at http://download.oracle.com/javame/co...139/index.html.
Reply With Quote