Şükrü Çakmak.
  • Blog
  • About
  • Events
  • Contact
Türkçe
Back to blog

November 8, 2019·1 min read

Installing Java on CentOS 7 & Red Hat Enterprise Linux 7

Installing Java 11 (OpenJDK) on CentOS 7 and RHEL 7 with yum, plus picking an alternative version — a short step-by-step guide.

javalinux
$ ssh deploy@server
$ systemctl status app
$ journalctl -u app -f
$ df -h
  1. sudo -i
  2. yum update
  3. yum list available java*
  4. yum install java-11-openjdk
  5. alternatives –config java
  6. choose the one you want

More posts

All posts
$ ./mvnw spring-boot:run
Tomcat started on :8080
Started Application
November 24, 2026javaspring

Tool Calling and MCP with Spring AI

Exposing your application's functions to an LLM with Spring AI — tool calling with @Tool, ToolContext, returnDirect, security, and setting up a Model Context Protocol (MCP) server and client.

$ ./mvnw spring-boot:run
Tomcat started on :8080
Started Application
November 23, 2026javaspring

Getting Started with Spring AI: ChatClient, Prompts, Structured Output and Chat Memory

Adding LLM support to a Spring Boot app with Spring AI — setup, the ChatClient API, prompt templates, structured output into records, streaming and conversation memory.

$ ./mvnw spring-boot:run
Tomcat started on :8080
Started Application
November 22, 2026javaspring

@Transactional Pitfalls and Locking with Spring and Hibernate

How @Transactional works through proxies, self-invocation, rollback rules, propagation, readOnly, optimistic and pessimistic locking, and the SKIP LOCKED job-queue pattern.

GitHub sukrucakmak.com

© 2026 Şükrü Çakmak · Built with Nuxt and Nuxt Content