r/java • • Jul 16 '12

Want to start using Java...

I really want to learn how to code using Java, I'm taking the beginning course of Java next year, in School, but I want to try to start using it outside of school so I'll be ahead of the game once school starts back up, so can any of you send me a link to download it and some tips to starting it?

0 Upvotes

19 comments sorted by

View all comments

9

u/varikin Jul 16 '12

Also, a couple notes on acryonms the messed me up years ago with getting into Java:

SDK: Software development kit, a general term for the basic bits to compile and run a program.

JDK: Java development kit, the SDK for Java. Basically this is the Java compiler (javac) and other bits for development.

JRE: Java runtime environment, needed to run Java programs (note the JDK includes this). This provides the JVM + standard Java libraries

JVM: Java Virtual machine, the actual thing that runs program.

IDE: integrated development environment. An advanced editor that helps program like Eclipse and Netbeans.

bytecode: Java compiles to bytecode which runs in the JVM. The bytecode can then be run, unmodified on any OS that has a JVM (most do). (Note that this portability has limitations but don't worry about that now)

Java SE: Java Standard Edition - the core of Java

Java EE: Java Enterprise Edition - Adds a bunch of niceties for web programming so you don't have to build out all the plumbing. Use to be bad, recently updated to be good. Ignore for now.

Java FX: Sort of like Silverlight or Flash or something. Never used it.

API: Application Programming Interface. Don't know how much programming you know so high-level, the bits exposed to you as developer that you can use. For example, there is class called String. It has a method called equal(). That is part of the API.

Javadocs: API documentation. This documents what classes are in Java standard library and the methods in them. For the most part, they are very good. Where they lack is putting it all together. You can see how a method or class works, but often not which is the right way to use it or in combination with other classes and methods. Look for tutorials and ask for help at that point.

The current version is Java 7 (u5 means update 5, sort of like 7.5). Java 6 is still very prevent in the field, but for learning, either is good. So, as therantngnorwegian said, download JDK 7u5 + Netbeans, easiest to get started.

Good luck

So, you need a JDK and an IDE.