Java Rice is the sort of side dish that quietly steals the show. It’s bright, savory, and built on a simple technique: infuse oil with annatto seeds, toss it with rice, and layer in peas and roasted peppers. The result feels both festival-ready and comfort-food straightforward.
You’ll appreciate how fast it comes together when you have cooked rice on hand. The annatto oil gives the dish its signature color and gentle earthiness, while lime and paprika lift the flavors. It pairs beautifully with grilled proteins, braises, or on its own as an everyday bowl.
Below I give you the exact ingredient list, step-by-step directions that follow the recipe precisely, and practical notes on swaps, tools, common mistakes, and how to store and reheat your leftovers. Follow the directions as written for reliable, repeatable results.
What You’ll Need

Ingredients
- 4 tablespoons annatto oil — for recipe, scroll down; this is the final total amount used to cook the rice.
- 1 garlic clove — finely chopped; provides savory backbone and aromatic lift.
- 1/2 onion — medium, finely chopped; softens and adds sweetness when sautéed.
- 1 1/2 cups green peas — frozen or fresh; add color, texture, and mild sweetness.
- 1 cup roasted peppers — from a jar or homemade, diced; bring smoky-sweet depth and color.
- 4 cups jasmine rice — cooked or any similar rice; the base of the dish, preferably day-old or cooled rice for better texture.
- 1 teaspoon paprika — for mild warmth and color reinforcement.
- 1 lime — zested and juiced (use one tablespoon lime juice, but zest of entire lime); brightens the dish.
- 1/2 teaspoon salt — baseline seasoning; adjust to taste.
- 1/2 teaspoon pepper — freshly cracked if possible; sharpens the flavors.
- 1 1/2 tablespoons annatto seeds — can be bought in any Asian store; used to make the annatto oil that colors and flavors the rice.
- 3 tablespoons extra virgin olive oil — or coconut oil; used to extract color and flavor from the annatto seeds when making the oil.
Cook Java Rice Like This
- If you already have 4 tablespoons annatto oil, skip to step 4. Otherwise make the annatto oil: put 1 1/2 tablespoons annatto seeds and 3 tablespoons extra virgin olive oil in a small saucepan over low–medium heat.
- Heat until tiny bubbles form around the seeds, then immediately turn off the heat and let the seeds steep in the oil for 2 minutes. Do not overcook the seeds (they can become bitter).
- Strain the oil through a fine-mesh strainer into a container, discard the seeds, and set the annatto oil aside.
- In a large saucepan over medium heat, warm 4 tablespoons annatto oil (use pre-made annatto oil or the oil you made in steps 1–3).
- Add 1 finely chopped garlic clove and 1/2 medium onion (finely chopped). Sauté about 3 minutes, stirring, until the garlic and onion are softened and just starting to color.
- Add 1 1/2 cups green peas and 1 cup diced roasted peppers. Cook, stirring occasionally, for 5 minutes until heated through.
- Add 4 cups cooked jasmine rice. Break up any clumps and stir well so the rice is evenly coated with the annatto oil.
- Season with 1 teaspoon paprika, 1/2 teaspoon salt, 1/2 teaspoon pepper, the zest of 1 lime, and 1 tablespoon lime juice. Stir to combine and cook for another 2 minutes to warm and meld the flavors.
- Taste and adjust seasoning if needed, then serve the rice warm.
Why This Java Rice Stands Out

This recipe’s strength is deliberate simplicity. The annatto oil is the central player: it gives color and a subtle earthy, slightly nutty note without overpowering. The roasted peppers and peas add texture and a sweet/smoky contrast. A hit of lime and paprika keeps the finish bright and layered.
Because the rice is already cooked before you finish the dish, you get predictable texture and a quick final cook. That makes Java Rice a reliable side when timing matters. It’s forgiving, too; small adjustments in seasoning won’t ruin the dish because the components are clear and balanced.
Ingredient Flex Options

Stick to the ingredient list for the most faithful result, but there are a few straightforward options already allowed by the recipe:
- Green peas: frozen or fresh both work as listed; frozen is convenient and gives a consistent bite.
- Roasted peppers: the recipe expects jarred or homemade—either works. Dice them to match the rice grain size so every forkful gets a bit.
- Cooking oil: the ingredient list mentions extra virgin olive oil or coconut oil for infusing annatto seeds—choose based on flavor preference.
- Rice: jasmine is specified, and the notes allow any similar cooked rice—use what you have but be mindful of starch levels (day-old rice is preferable).
Equipment & Tools
Nothing fancy required. A small saucepan for the annatto infusion and a large saucepan for finishing the rice are the essentials. A fine-mesh strainer, a heatproof container for the infused oil, and a sturdy spatula or wooden spoon round out the kit.
Minimum tool list
- Small saucepan (annatto infusion)
- Large saucepan or deep skillet (finish the rice)
- Fine-mesh strainer
- Container to hold strained annatto oil
- Sharp knife and cutting board (for onion, garlic, peppers)
Mistakes Even Pros Make
People often rush the annatto infusion or let the seeds overcook. When that happens the oil can take on a bitter edge. Heat until you see tiny bubbles and then stop—follow the steeping window closely.
Another common error is using piping-hot freshly cooked rice straight from the pot. Wet, steaming rice clumps and doesn’t separate well, so it won’t absorb the oil evenly. Use cooled or day-old rice when possible and break up clumps before adding.
Finally, skimping on the lime zest and juice reduces the dish’s brightness. The citrus is small but essential for balance—don’t skip it.
Better Choices & Swaps
Keep swaps conservative and purposeful:
- If you prefer a neutral fat, use the coconut oil option listed in the ingredients instead of olive oil.
- If you don’t have jarred roasted peppers, you can roast and dice your own ahead of time—but the ingredient list already allows either source.
- For rice, stick with jasmine or a similar long-grain cooked rice, as the recipe’s texture depends on it.
These choices maintain the intended flavor profile without introducing elements that would clash with the annatto or lime.
Flavor Logic
Here’s why the listed ingredients are paired the way they are. Annatto seeds release pigment and a subtle earthy note when steeped in oil—this oil is the backbone. Garlic and onion are classic aromatic supports that build savory depth. Peas and roasted peppers add sweetness and texture contrast.
Paprika echoes the oil’s color and adds a mild warmth; salt and pepper do the usual balancing job. Lime zest and juice cut through the oil and lift the whole dish, turning it from merely colored rice into something bright and snackable.
Storage & Reheat Guide
Java Rice stores very well.
- Refrigerator: Transfer cooled rice to an airtight container and keep for up to 4 days.
- Freezer: Portion into freezer-safe containers and freeze for up to 2 months. Thaw overnight in the fridge before reheating.
Reheating tips: add a splash of water or a teaspoon of oil when reheating to revive the rice and prevent drying. Reheat gently in a saucepan over low heat, stirring to distribute heat evenly. Alternatively, microwave in short bursts (cover loosely) and stir between intervals. If you have access to a skillet, a quick toss over medium heat with a teaspoon of oil gives a near-fresh texture.
Ask & Learn
Common questions I get:
What if I don’t have annatto seeds?
Annatto is key to the color and a specific flavor note. If you truly can’t source them, you’ll lose the characteristic hue and flavor. Use the recipe as written when you can find annatto seeds—many Asian or Latin grocery stores carry them.
Can I add meats or other vegetables?
The recipe is designed as a side, but you can add pre-cooked proteins or additional vegetables as long as they’re cooked and warmed through in step 6 or 7. Just avoid adding raw items that require a long cook time; this recipe finishes quickly.
How important is the lime?
Very. The zest and the tablespoon of juice both cut through the oil and brighten the dish. If you skip the lime, the rice will taste duller.
Before You Go
Java Rice is one of those make-ahead side dishes that rewards careful technique more than special ingredients. The annatto oil step takes five minutes and yields dramatic results. Use cooled, properly cooked rice, treat the annatto seeds gently, and don’t skimp on lime. Follow the steps exactly for a dependable, colorful, and flavorful side.
If you make it, I’d love to know how you used the rice—did it become a side for grilled chicken, a bed for a saucy stew, or a main dressed with extras? Leave a note or a photo so I can see your version.

Java Rice
Ingredients
Ingredients
- 4 tablespoonsannatto oilfor recipe scroll down
- 1 garlic clovefinely chopped
- 1/2 onionmedium finely chopped
- 1 1/2 cupsgreen peasfrozen or fresh
- 1 cuproasted peppersfrom a jar or homemade diced
- 4 cupsjasmine ricecooked or any similar rice
- 1 teaspoonpaprika
- 1 limezested and juiced use one tablespoon lime juice, but zest of entire lime
- 1/2 teaspoonsalt
- 1/2 teaspoonpepper
- 1 1/2 tablespoonsannatto seedscan be bought in any Asian store
- 3 tablespoonsextra virgin olive oilor coconut oil
Instructions
Instructions
- If you already have 4 tablespoons annatto oil, skip to step 4. Otherwise make the annatto oil: put 1 1/2 tablespoons annatto seeds and 3 tablespoons extra virgin olive oil in a small saucepan over low–medium heat.
- Heat until tiny bubbles form around the seeds, then immediately turn off the heat and let the seeds steep in the oil for 2 minutes. Do not overcook the seeds (they can become bitter).
- Strain the oil through a fine-mesh strainer into a container, discard the seeds, and set the annatto oil aside.
- In a large saucepan over medium heat, warm 4 tablespoons annatto oil (use pre-made annatto oil or the oil you made in steps 1–3).
- Add 1 finely chopped garlic clove and 1/2 medium onion (finely chopped). Sauté about 3 minutes, stirring, until the garlic and onion are softened and just starting to color.
- Add 1 1/2 cups green peas and 1 cup diced roasted peppers. Cook, stirring occasionally, for 5 minutes until heated through.
- Add 4 cups cooked jasmine rice. Break up any clumps and stir well so the rice is evenly coated with the annatto oil.
- Season with 1 teaspoon paprika, 1/2 teaspoon salt, 1/2 teaspoon pepper, the zest of 1 lime, and 1 tablespoon lime juice. Stir to combine and cook for another 2 minutes to warm and meld the flavors.
- Taste and adjust seasoning if needed, then serve the rice warm.
Equipment
- Small Saucepan
- Fine-mesh strainer
- Large Saucepan
