Enterprise Java Development@TOPIC@
You will need a copy of Java 8 SDK installed.
Keep the 32/64-bit choice consistent with what you download later for Eclipse.
Linux Users: I normally would say OpenJDK will work fine for class but I have found that OpenJDK 8 is still lagging begind in some SSL/encryption support that makes communicating with remote servers using HTTPS an issue. Do yourself a favor and go with Oracle JDK 8 (latest) by downloading the rpm from their site and installing. http://www.oracle.com/technetwork/java/javase/downloads/index.html
$ rpm -ih jdk-8u60-linux-x64.rpm $ alternatives --config java Selection Command ----------------------------------------------- 1 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.40-21.b25.fc21.x86_64/jre/bin/java 2 /usr/java/jdk1.8.0_60/jre/bin/java Enter to keep the current selection[+], or type selection number: 2
Windows Users: Install the Java 8 JDK from Sun/Oracle
Download a copy of the Java 8 JDK http://www.oracle.com/technetwork/java/javase/downloads/index.html. Choose Java SE 8 (latest) JDK. We will only be using the JDK portion in class so avoid the alternate downloads that add in the Glassfish JavaEE Application Server and NetBeans. We will be using JBoss and Eclipse.
Install the JDK and associated JRE in a directory that does not have spaces in its path.
The Oracle Windows JDK installer will attempt to place the JDK and JRE in a directory with spaces. Be sure to override the installer defaults when it prompts you for installation directory.
Define an environment variable JAVA_HOME to reference the JDK
Add JAVA_HOME/bin to your PATH if necessary
Depending on how you performed the installation, you may need to add the JDK to your PATH
Figure 2.1. Fedora Example
$ java -version java version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode) $ javac -version javac 1.8.0_40