Linguae Programmandi
Lingua programmandi et tempus executionis ad usum negotiorum apta ad applicationes inter varias suggestus construendas
Write once, run anywhere via JVM bytecode
Robust, scalable, with comprehensive libraries and frameworks
Compile-time type safety prevents common errors
Garbage collection handles memory automatically
Spring, Hibernate, Maven, Gradle, and thousands of libraries
Code written decades ago still runs on modern JVMs
# OpenJDK 17 (LTS)
sudo apt update
sudo apt install openjdk-17-jdk -y
java -version
# Set JAVA_HOME
echo 'export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64' >> ~/.bashrc
source ~/.bashrcHello World:// HelloWorld.java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}javac HelloWorld.java
java HelloWorld
@SpringBootApplication
@RestController
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
@GetMapping("/")
public String hello() {
return "Hello, World!";
}
}Maven pom.xml:<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>3.2.0</version>
</dependency>
</dependencies>mvn spring-boot:run
In hoc tempore in usu est systema numerationis alphabeticae.
Deploy in about 2 minutes • Full root access • Support by ticket and email