java

Java Application Launcher.

Install

All systems
curl cmd.cat/java.sh
Debian Debian
apt-get install java
Ubuntu
apt-get install java
Arch Arch Linux
pacman -S java
image/svg+xml Kali Linux
apt-get install java
CentOS
yum install java
Fedora
dnf install java
Raspbian
apt-get install java

Java Application Launcher.

  • Execute a java .class file that contains a main method by using just the class name:
    java classname
  • Execute a .jar program:
    java -jar filename.jar
  • Display JDK, JRE and HotSpot versions:
    java -version

© tl;dr; authors and contributors