Wednesday, January 2, 2019

Java Editor and IDE.

What features should I care in IDE?
Code Editor - syntax, auto-completion, templates
Compiler - converts source code according to a language 
           understood by the computer OS system.
Debugger - make it easy to analyze and make changes in a program.
Java Language Compiler (JDK) and Java Runtime Environment (JRE)
Java source code is converted into bytecode.
Bytecode is Java binary code understood by Java Runtime Environment Tool.
Java Runtime Environment Tool is called JVM.
Bytecode is run on JVM (Java Virtual Machine).
JVM is computer processor platform dependent.
Do I have Java installed?
javac -version
java -version
How do I download Java Compiler (JDK) and JRE?
https://www.oracle.com/technetwork/java/javase/downloads/index.html
Click to start!
Java Standard Edition, Micro Edition and Enterprise Edition (SE, ME and EE)
They consist of different development tools, deployment technologies and different class libraries.

Java SE - Also known as "Core Java", 
          used to develop stand alone application.
Java ME - Used to develop applications for small scale devices, 
          such as mobile phones.
Java EE - Also known as "Advance Java", 
          used to develop web application that run on a web server.
Java Bluej IDE
bluej.org
Click to start!
Java Eclipse IDE
eclipse.org
Click to start!
Java Intellij IDEA IDE
https://www.jetbrains.com/idea
Click to start!
Java Jdeveloper IDE
http://goo.gl/KvVixu
Click to start!
Java Netbeans IDE
https:/netbeans.org
Click to start!
Jshell
/help intro
/help
3
$1
4
$3
int x = 0;
1/2
1.0/2
/list
for (int i=0; i<3;i++) System.out.println("i : " + i);
void printHello (String name) { System.out.println("Hello "+ name );}
pr<tab>
printHello("amy")
Sys<tab>
/exit

No comments:

Post a Comment