
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
- Looking for Partner
I'm looking for partner for long-term collaborating. Of course, I'll pay for you. If you are interested, Please DM me.
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- Looking for Partner
I'm looking for partner for long-term collaborating. Of course, I'll pay for you. If you are interested, Please DM me.
