#Java Getting Started
-
Shell Customization
- Terminal Preferences
~/java_setup.sh
-
- Tools->Create command line launcher
-
J2EE 7 Developer Bundle (samples and jdk)
chmod +x ./java_ee_sdk-7-jdk7-macosx-x64.sh
export DISPLAY=:0
sh ./java_ee_sdk-7-jdk7-macosx-x64.sh
-
- JDK - Prior to Java 2
- J2SE - Java 2 Platform Standard Edition (c 1998)
- J2EE - Java 2 Platform, Enterprise Edition
- J2ME - Java 2 Platform, Micro Edition
- JDBC
- JNDI
- Regular Expressions
- JDBC
#Java Tutorials
#Java Certifications
- http://docs.oracle.com/javase/tutorial/extra/certification/javase-7-programmer1.html
- http://docs.oracle.com/javase/tutorial/extra/certification/javase-7-programmer2.html
#JavaDB
#JUnit
#Maven
- mvn archetype:generate
- Maven Archetype from Eclipse
- Maven Project Import
#Spring
#Java Community
#JSRs
#Videos
#Regex
#Tomcat
- I used
brew install tomcat6
but you could try another method - Install on OSX
- Deploying a WebApp
- Maven Integration
#FAQ
-
JDK
Java SE Development Kit- includes
javac
compiler - other tools
javap
,jar
, debugging tools - and a
JRE
...
- includes
-
JRE
Java Runtime Environment runs java applicationsJVM
plusjavaw
,class files
andlibraries
like util, math, lang
-
JVM
Java Virtual Machine runs byte codejava
$ java -fullversion
->java full version "1.7.0_60-b19"
which java
->/usr/bin/java
ls -la /usr/bin/java
->lrwxr-xr-x 1 root wheel 74 Nov 9 2013 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
java -version
->java version "1.7.0_60" Java(TM) SE Runtime Environment (build 1.7.0_60-b19) Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
-
Java SE
- Java Standard EditionJ2SE
is an older name- Java SE is a set of Specifications
-
Java EE
- Java Enterprise EditionJ2EE
is an older name- Java EE is a set of Specifications
-
What is Glassfish?
-
How do you run a java application?
-
How does a java application access it's arguments?
-
What is the ```CLASSPATH````?
-
What is ```javac``?
-
What is a ```jre``?
-
What is a ```RIA``?
-
What is an
executable jar file
? -
What does the java compiler do?
-
What is
JAVA_HOME
?$JAVA_HOME
->/Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home
-
What is a
JSR
? -
What is
JCP
? -
What is
JME
orJava Micro Edition
? -
What is
Java Web Start
? -
What is the
Byte-code Verifier
?