diff --git a/SPEC.md b/SPEC.md index 914fdae..a97a33f 100644 --- a/SPEC.md +++ b/SPEC.md @@ -638,6 +638,18 @@ Last-Modified and last-check metadata. ## Tool installer +The static landing page (`web/index.html`) presents Unix and PowerShell tool +installation commands, the follow-up `jvm install` command, and discovery, +installation and execution examples. It uses a responsive layout with links to +the GitHub repository and documentation. Each command has a keyboard-accessible +copy button when JavaScript is enabled, with success feedback announced to +assistive technology. If clipboard access fails, the command is selected for +manual copying and the page reports the failure. Commands remain readable and +selectable without JavaScript. Styling and icons are self-contained with no +external runtime assets or dependencies. The local `web/duke-claw.png` artwork +appears above the main heading in the left column; the header uses a text-only +wordmark. + `web/install.sh` and `web/install.ps1` implement standalone user-wide tool installation; public URLs require the maintainer publication sequence in [RELEASING.md](RELEASING.md). They install no JDK, never select a default, never diff --git a/web/duke-claw.png b/web/duke-claw.png new file mode 100644 index 0000000..4cf5980 Binary files /dev/null and b/web/duke-claw.png differ diff --git a/web/index.html b/web/index.html index e196baa..f127cf6 100644 --- a/web/index.html +++ b/web/index.html @@ -1,16 +1,194 @@ - - -jvm — Java for your projects -
-

jvm

-

A small tool to download and select Java Development Kits.

-

Install the tool on Unix:

-
curl -fsSL https://getjvm.dev/install.sh | bash
-

Or in Windows PowerShell:

-
iex (irm 'https://getjvm.dev/install.ps1')
-

Then open a fresh terminal and run jvm install to install Java.

-

Instructions, options and source

-
+ + + + + + jvm — Java for your projects + + + + + +
+ jvm + +
+
+
+
+ A claw machine picking a Java Duke mascot from a pile of Dukes. +

A little tool for your JDKs

+

Your projects.
Your Java.
Just jvm.

+

Download and select Java Development Kits with a small command line tool that stays out of your way.

+ Explore the documentation +

Open source MIT licensed Unix & Windows

+
+
+
+

Start here

01 / Install the tool
+
+

Unix — macOS & Linux

+
curl -fsSL https://getjvm.dev/install.sh | bash
+

Windows — PowerShell

+
iex (irm 'https://getjvm.dev/install.ps1')
+
+
+

02 / Make yourself at home.
Open a fresh terminal application, then install Java:

+
jvm install
+
+
+
+
+
+

A few commands. Plenty of Java.

Pick a version. Get back to building.

+
+
01 / DISCOVER

See what’s available

Browse compatible JDKs for your machine.

jvm available
+
02 / INSTALL

Choose your Java

Ask for a version and distribution by name.

jvm install temurin-21
+
03 / RUN

Run with the right JDK

Use Java 21 for an individual command.

jvm exec 21 java -version
+
+
+
+ +
+ +