
Oracle APEX 26.1 is out. It's the "APEX 26 AI" release, with AI Agents, APEXlang and NL2IR, and I wanted a proper local environment to play with it. Not a cloud trial, my own laptop, where I can break things and start again.
So I installed the whole stack on Windows 11. It mostly went smoothly, but I hit three problems that don't give you a clear error message, and each one cost me some time. This post is the guide I wish I'd had: every command I ran, in order, plus the fixes.
What we're installing
Three pieces, plus Java to run one of them:
- Oracle AI Database 26ai Free (23.26.0). Holds the APEX engine and your data.
- Oracle APEX 26.1, installed into the pluggable database
FREEPDB1. - Oracle REST Data Services (ORDS) 26.2.3. The web listener that puts APEX in your browser.
- Java 17 or newer, because ORDS needs it.

Versions and requirements
| Component | Version I used | Notes |
|---|---|---|
| Windows | Windows 11 Pro 64-bit | You need Administrator rights for the database install |
| Oracle Database | AI Database 26ai Free 23.26.0 | APEX 26.1 needs 19c (RU 19.18+) or 26ai |
| Oracle APEX | 26.1.0 | English-only zip, about 245 MB |
| ORDS | 26.2.3 | APEX 26.1 needs ORDS 26.1.1 or later |
| Java | JDK 17 / 25 | ORDS needs Java 17+ |
One folder for everything
I kept the whole install under one root folder. It makes everything easy to find, easy to back up and easy to remove later if you want a clean start.

Step 1: Download the installers
These direct links work without logging in:
| Download | Size | Link |
|---|---|---|
| Database Free 26ai for Windows | about 1.39 GB | https://download.oracle.com/otn-pub/otn_software/db-free/oracle-ai-database-free-26ai-23.26.0.windows.x64.zip |
| APEX 26.1 | about 245 MB | https://download.oracle.com/otn_software/apex/apex_26.1_en.zip |
| ORDS (latest) | about 190 MB | https://download.oracle.com/otn_software/java/ords/ords-latest.zip |
While those download, check your Java version:
If it says 17 or higher, you're set. Nothing else to install.
Step 2: Install Oracle AI Database 26ai Free
Unzip the database download. Next to setup.exe there's a response file called FREEInstall.rsp. Make a copy (I called mine FREEInstall_custom.rsp) and change these values:
PASSWORD becomes the password for SYS, SYSTEM and PDBADMIN. Pick a strong one and keep it somewhere safe, you'll need it again in Step 4.
Now open Command Prompt as Administrator and run the silent install:
The install takes a while. When it's done you should have:
- Oracle home:
D:\Oracle_APEX_26_AI\database\dbhomeFree - Container database
FREEand pluggable databaseFREEPDB1 - Two Windows services,
OracleServiceFREEandOracleOraDB23Home1TNSListener, with the listener on port 1521
The installer adds dbhomeFree\bin to your PATH. I also set these system environment variables so the tools always pick up the right home:
Open a new command prompt (so it sees the new variables) and check the database:
FREEPDB1 should show READ WRITE. On my machine the Free edition gave me about 1.5 GB of SGA and 512 MB of PGA, which was enough for APEX.
Step 3: Install APEX 26.1 into FREEPDB1
Unzip apex_26.1_en.zip. Then open a command prompt inside the extracted apex folder. That part matters: the install script calls other scripts with relative paths, so it has to run from there.
Now run the silent installer. It takes eight arguments:
| # | Argument | What I used |
|---|---|---|
| 1 | APEX tablespace | SYSAUX |
| 2 | Files tablespace | SYSAUX |
| 3 | Temp tablespace | TEMP |
| 4 | Image prefix | /i/ |
| 5 | APEX_PUBLIC_USER password | PubUser_Pwd1! |
| 6 | APEX_LISTENER password | Listener_Pwd1! |
| 7 | APEX_REST_PUBLIC_USER password | RestPub_Pwd1! |
| 8 | Instance ADMIN password | Admin_Pwd1! |
This took about 15 minutes for me. Good time for a cup of tea. When it's done, check APEX is valid:

ORA-20001: Password validation failed. The rest of the install finished normally, which is exactly why it's easy to miss. Search apex_install.log for ORA- to be sure.If it happened to you too, run this from the same folder, still inside FREEPDB1:
It asks for the ADMIN username, email and password, and creates the user if it doesn't exist yet. Use a password with a symbol in it, like !, # or _.
Last thing for this step: copy the APEX static files (the apex\images folder from the zip) somewhere permanent. ORDS will serve them from there.
Step 4: Install and configure ORDS
Unzip ords-latest.zip and check which version you got:
To install ORDS without any prompts, create a temporary text file, say pw.txt, with two lines: the SYS password on line one, and a new password for ORDS_PUBLIC_USER on line two. Then run this in Command Prompt (cmd.exe):
cmd.exe with the < file redirect worked first time.pw.txt as soon as the install finishes. It has your SYS password in plain text.The install creates the ORDS_PUBLIC_USER account and sets up the PL/SQL gateway for APEX. ORDS keeps its passwords in a wallet inside the config folder, so they're not stored as plain text.
Step 5: Start ORDS and open APEX
I made a tiny launcher called start_ords.bat:
Run it and give it 10 to 20 seconds. When the log says Oracle REST Data Services initialized, ORDS is ready. Then open:

| What | URL | Login |
|---|---|---|
| APEX | http://localhost:8080/ords/apex | Your workspace (after Step 6) |
| Administration Services | http://localhost:8080/ords/apex_admin | Workspace INTERNAL, user ADMIN |
| ORDS landing page / SQL Developer Web | http://localhost:8080/ords/ | Database user |

Step 6: Create your own workspace
Don't build applications in the INTERNAL workspace. It's for instance administration only. Log in to Administration Services, then:
- Go to Manage Workspaces > Create Workspace.
- Enter a workspace name. Let APEX create a new schema for it, or pick an existing one.
- Create a workspace administrator with your own username and password.
- Log out, then sign in at
/ords/apexwith the new workspace name, username and password.

A quick first test
To make sure everything really works end to end, open SQL Workshop > SQL Commands in your new workspace and create the same employees table we've been using across this series:

If you get your row back, the database, APEX and ORDS are all talking to each other. You're ready to build.
Step 7 (recommended): Start ORDS automatically after a reboot
The database runs as a Windows service and starts by itself. ORDS standalone doesn't. After a reboot APEX just shows "This site can't be reached" until you run start_ords.bat again. To fix that for good, create a scheduled task from an Administrator Command Prompt:
The 2 minute delay gives the database service time to come up before ORDS tries to connect. You can also set this up by hand in Task Scheduler with an "At startup" trigger. Either way, restart once to make sure it works.
Troubleshooting quick reference

| Symptom | Cause | Fix |
|---|---|---|
| Database installer exits without doing anything | Prompt not elevated | Run Command Prompt as Administrator |
| Can't log in as ADMIN after the APEX install | ADMIN password had no punctuation, so the user was never created | Run @apxchpwd.sql in FREEPDB1 |
ords install says "invalid credential" | Passwords piped through PowerShell | Use cmd.exe with --password-stdin < file |
| APEX pages load without styling or icons | ORDS can't find the static images | Check the --apex-images folder exists and has the files |
| "Port 8080 is already in use" | Another ORDS (or another app) is already running | Stop it, or use --port 8081 |
| localhost:8080 not reachable after a reboot | ORDS isn't running | Run start_ords.bat, or set up Step 7 |
Is a local Free setup worth it?
- ✔Completely free, and no Oracle account needed for the downloads.
- ✔The latest APEX 26.1 features on your own machine.
- ✔Break it, reinstall it, nobody else is affected.
- ✔Works offline once it's installed.
- ✔Same stack you'd see on a real server: database, APEX and ORDS.
- ✘Free edition limits: 2 CPUs, 2 GB RAM, 12 GB of user data.
- ✘Not for production.
- ✘ORDS doesn't start on its own unless you add the scheduled task.
- ✘Three silent failures to watch for (admin prompt, ADMIN password, PowerShell).
- ✘The database download alone is about 1.4 GB.
- In about an hour (not counting downloads) you can have AI Database 26ai Free, APEX 26.1 and ORDS 26.2 running on Windows 11.
- Keep everything in one root folder.
- Run the database installer from an Administrator prompt.
- Use passwords with a symbol in them, and check apex_install.log for ORA- errors.
- Run the ORDS install in cmd.exe, not PowerShell, and delete pw.txt afterwards.
- Create your own workspace instead of using INTERNAL.
- Add a scheduled task so ORDS starts after every reboot.
- Back up the database folder before making big changes.
Happy building with APEX 26 AI! If you hit an error I haven't covered here, leave a comment and I'll try to help.
Comments
Post a Comment