Java: Difference between revisions
(Created page with "sun microsystems > oracle google, ibm, microsoft implementations language vm, memory, bytecode java scala ruby groovy licensing object oriented class /com/janmg/hello.java package com.janmg static void main(args) { System.out.println("Hello World"); } javac -cp / /com/janmg/hello.java java -cp . hello") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Invented in the '90-ies by SUN Microsystems, intended for interactive television. | |||
SE Standard Edition | |||
EE Enterprise Editions, adds tools and classes | |||
ME Micro Edition / JAVA Applets were discontinued | |||
SUN Microsystems acquired by Oracle, license for large companies are now charged per virtual machine. | |||
OpenJDK builds: Microsoft, IBM, Redhat, SAP, Azul, etc | |||
with a JRE runtime and JDK compiles | |||
.java is the source code, needs to have the same name as the class it defines and in the directory mentioned in the package | |||
.class compile java class, this can be run in the runtime. | |||
.jar is a zip file with classes | |||
JAVA_HOME | |||
JRE_HOME | |||
JDK_HOME | |||
Alternatives | |||
google, ibm, microsoft implementations | google, ibm, microsoft implementations | ||
Line 24: | Line 51: | ||
javac -cp / /com/janmg/hello.java | javac -cp / /com/janmg/hello.java | ||
java -cp . hello | java -cp . hello | ||
Maven | |||
[[LOG4J]] |
Latest revision as of 09:25, 13 February 2024
Invented in the '90-ies by SUN Microsystems, intended for interactive television.
SE Standard Edition
EE Enterprise Editions, adds tools and classes
ME Micro Edition / JAVA Applets were discontinued
SUN Microsystems acquired by Oracle, license for large companies are now charged per virtual machine.
OpenJDK builds: Microsoft, IBM, Redhat, SAP, Azul, etc
with a JRE runtime and JDK compiles
.java is the source code, needs to have the same name as the class it defines and in the directory mentioned in the package
.class compile java class, this can be run in the runtime.
.jar is a zip file with classes
JAVA_HOME
JRE_HOME
JDK_HOME
Alternatives
google, ibm, microsoft implementations
language vm, memory, bytecode
java scala ruby groovy
licensing
object oriented class
/com/janmg/hello.java package com.janmg static void main(args) { System.out.println("Hello World"); }
javac -cp / /com/janmg/hello.java java -cp . hello
Maven