Skip to content

mkyong.com

  • Spring Boot
  • Java Virtual Threads
  • Contact
  1. Home /
  2. install-java

Tag: install-java

j
java July 25, 2025 by mkyong 0 comments

How to Install Java on Windows (Step-by-Step Guide)

Learn how to install Java 21 (Oracle and Temurin) on Windows with screenshots and easy-to-follow instructions.

Read more How to Install Java on Windows (Step-by-Step Guide)
java July 22, 2016 by mkyong 7 comments

How to install Oracle JDK 8 on CentOS

In this tutorial, we will show you how to install Oracle JDK 8 On CentOS. Environment : CentOS 6.8 Oracle JDK 8u102 Note This guide should work on Fedora and RedHat. 1. Get Oracle JDK 8 1.1 Visit Oracle JDK download page, look for RPM version. 1.2 Copy the download link of jdk-8u102-linux-x64.rpm and wget […]

Read more How to install Oracle JDK 8 on CentOS
design pattern March 18, 2016 by mkyong 2 comments

Java Builder pattern examples

The Builder Pattern in Java is a creational design pattern that helps in constructing complex objects step by step. Here are three examples of the Builder pattern in Java: 1. Building a User Profile This example models a User with optional fields using the Builder Pattern. User.java package com.mkyong.builder; class User { private final String […]

Read more Java Builder pattern examples
java December 30, 2015 by mkyong 17 comments

How to Install Oracle JDK 8 On Debian

In this tutorial, we will show you how to install Oracle JDK 8 On Debian, manually. Environment : Debian 7 OpenJDK 1.7 is installed. (Switch to Oracle JDK 8 later) At the time of writing, OpenJDK 1.8 is not included in the default apt-get repository yet. I just don’t like the default apt repository schedule, […]

Read more How to Install Oracle JDK 8 On Debian
j
java June 21, 2010 by mkyong 32 comments

How to check the installed JDK version on your computer

In the Terminal, we can use `javac -version` to check the installed JDK version and `java -version` to check the installed JRE version.

Read more How to check the installed JDK version on your computer
java May 31, 2010 by mkyong 23 comments

Java – How to round double / float value to 2 decimal places

We can use DecimalFormat(“0.00”) or BigDecimal to round float / double to 2 decimal places.

Read more Java – How to round double / float value to 2 decimal places

Mkyong.com has provided Java and Spring tutorials, guides, and code snippets since 2008. All published articles are simple, easy to understand, and well-tested in our development environment.

Mkyong.com licenses all source code on this website under the MIT License.

About
  • About Us
  • Code License
  • Privacy Policy
  • Terms Of Use
  • Contact Us
Tools
  • Spring Framework
  • Quarkus Framework
  • Micronaut Framework
  • Oracle Java JDK
  • Eclipse Temurin JDK
  • OpenJDK JDK
  • Hibernate ORM
  • Maven Build Tool
  • Gradle Build Tool
  • Tomcat Application Server
  • Docker
Links
  • Maven Central
  • Docker Hub
  • Spring Guides
  • Quarkus Guides
  • Micronaut Guides
  • Martin Fowler
  • AskPython

© 2026 mkyong.com — Powered by WordPress

RSS