Hello, I want to make a function in the java/ folder. By default the runtime options don't include Java. I have looked at https://github.com/appwrite/appwrite/discussions/4826#discussioncomment-4338536 to use Java. But I get an error:
=> ERROR [examples 2/2] COPY examples.jar examples.jar 0.0s
after doing: docker compose up -d
I will provide the screenshot on how I changed the env. file and the terminal.
umm it looks like you're running docker compose up -d in the wrong folder. You should be running it in the appwrite folder where your docker-compose.yml and the .env file you modified is.
Also, you have an extra space in your runtimes environment variable.
Thank you Steven it worked
[SOLVED] How to add Java Runtime?
Recommended threads
- unable to create project with custom id
when creating a project, and click on project ID button, nothing happens. is this a bug?
- Unauthorized Charge on My Card – I Don’t...
Hi, I need urgent help. I received a bank SMS about a charge from "APPWRITE PRO" (18.460 JOD on 10/12/2025 at 03:47), but I DO NOT have an Appwrite account and...
- Passkeys with Appwrite
I am using appwrite auth and would like to implement passkeys, did anyone have done before, have a guide or documentation or POC? if yes, please share because I...