MiniCTRMSearch

MiniCTRM - Tutorial: Scripting with Java - Crude Oil

→ to begin · N for the speaker notes

On a phone: Next or a swipe left to begin, Notes for the words.

What you'll learn

  • What a script is – Projects and scripts, and what a script can use.
  • Your first script – A project of your own and Hello World, line by line.
  • Compile and run – Compile, Run, the run page and its log.
  • Change it – A greeting that uses the API, run again.
  • Ask the book – A query of the sample book, shown as tables, and Run history.
  • When it goes wrong – A script that will not compile, and one that fails when it runs.

Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.

Welcome

Scripting with Java, hands on

1 / 27
Scripting with Java, hands on
What a script is

Projects and scripts

2 / 27
Projects and scripts
What a script is

What a script can use

3 / 27
What a script can use
Your first script

A project of your own

4 / 27
A project of your own
Your first script

Hello World

5 / 27
Hello World
Your first script

Every line of Hello

6 / 27
Every line of Hello
Compile and run

Compile

7 / 27
Compile
Compile and run

Run it

8 / 27
Run it
Compile and run

The run page

9 / 27
The run page
Compile and run

The log

10 / 27
The log
Change it

Use the API

11 / 27
Use the API
Change it

Run it again

12 / 27
Run it again
Ask the book

A second script

13 / 27
A second script
Ask the book

Query the book

14 / 27
Query the book
Ask the book

Put it on screen

15 / 27
Put it on screen
Ask the book

Run the query

16 / 27
Run the query
Ask the book

The tables

17 / 27
The tables
Ask the book

Run history

18 / 27
Run history
When it goes wrong

A script that will not compile

19 / 27
A script that will not compile
When it goes wrong

Read the diagnostics

20 / 27
Read the diagnostics
When it goes wrong

A mistake javac cannot see

21 / 27
A mistake javac cannot see
When it goes wrong

Read the failure

22 / 27
Read the failure
When it goes wrong

Fix it

23 / 27
Fix it
Where to go next

Every method, with an example

24 / 27
Every method, with an example
Where to go next

From a script to a job

25 / 27
From a script to a job
Where to go next

What Purge removes

26 / 27
What Purge removes
Where to go next

Where it sits in the day

27 / 27
Where it sits in the day

You have finished lesson 481, Scripting with Java.

Where next?

← → move · N notes · Home / End