Java Rice
Java Rice is a vibrant, flavorful dish that brings a burst of color and taste to your table. Infused with the rich hues of annatto oil and the brightness of lime, this recipe balances savory and tangy notes perfectly. It’s a versatile side that complements a variety of meals, from grilled meats to simple vegetable dishes. Whether you’re looking for an everyday rice recipe or something a little more special, Java Rice is a must-try that adds warmth and depth to your meal repertoire.
What Sets This Recipe Apart
What makes this Java Rice recipe truly unique is the use of annatto oil, which not only imparts a beautiful golden-orange color but also a subtle earthy flavor that’s unlike any other rice dish. The addition of roasted peppers and lime zest gives it a refreshing twist, while paprika adds a gentle smoky undertone. Unlike plain steamed rice, Java Rice is a celebration of spices and ingredients that awaken your palate, making each bite exciting. Plus, it’s made with simple pantry staples, making it accessible for cooks of all levels.
What We’re Using
- 4 tablespoons annatto oil: This vibrant oil is the star, made by infusing oil with annatto seeds to create that signature color and flavor.
- 1 garlic clove, finely chopped: Adds a foundational aromatic boost.
- 1/2 medium onion, finely chopped: Provides sweetness and depth.
- 1 1/2 cups green peas (frozen or fresh): For a pop of color and subtle sweetness.
- 1 cup roasted peppers (from a jar or homemade, diced): Adds smoky, sweet notes and texture.
- 4 cups jasmine rice (cooked) or any similar rice: The perfect fluffy base with a delicate fragrance.
- 1 teaspoon paprika: Brings mild heat and smoky flavor.
- 1 lime (zested and juiced): Use the zest of the entire lime and one tablespoon of juice for brightness.
- 1/2 teaspoon salt: Balances all flavors.
- 1/2 teaspoon pepper: Adds gentle heat and complexity.
- 1 1/2 tablespoons annatto seeds: Used to make the annatto oil, available at any Asian store.
- 3 tablespoons extra virgin olive oil or coconut oil: For frying the ingredients and infusing flavor.
Tools & Equipment Needed
- Small saucepan: To infuse the annatto oil with seeds.
- Large skillet or sauté pan: For mixing and cooking the rice with the veggies and spices.
- Sharp knife and chopping board: To finely chop garlic, onion, and peppers.
- Zester or fine grater: For extracting the lime zest.
- Measuring spoons and cups: To ensure precise ingredient amounts.
- Wooden spoon or spatula: For gently stirring the rice without breaking the grains.
Java Rice: How It’s Done

Step 1: Prepare the Annatto Oil
Start by heating 3 tablespoons of extra virgin olive oil or coconut oil in a small saucepan over medium heat. Add the 1 1/2 tablespoons of annatto seeds and let them infuse the oil for about 5-7 minutes, stirring occasionally. You’ll notice the oil turning a vibrant reddish-orange color. Once done, strain out the seeds and reserve the oil for cooking.
Step 2: Sauté the Aromatics
In a large skillet or sauté pan, heat the annatto oil over medium heat. Add the finely chopped garlic and onion, sautéing until fragrant and translucent, about 3-4 minutes. This creates a flavorful base for the rice.
Step 3: Add the Vegetables and Spices
Stir in the green peas and roasted peppers, mixing well. Sprinkle in the paprika, salt, and pepper. Cook for another 3-5 minutes until the peas are tender and the peppers are heated through.
Step 4: Combine the Rice
Add the cooked jasmine rice to the pan, breaking up any clumps gently. Toss everything together to combine and heat through evenly, about 5 minutes. Be careful not to over-stir to maintain fluffy rice grains.
Step 5: Brighten with Lime
Remove the pan from heat and immediately add the lime zest and one tablespoon of lime juice. Gently fold these into the rice, allowing the citrusy brightness to lift the flavors.
Step 6: Serve and Enjoy
Serve your Java Rice warm, alongside your favorite protein or vegetable dishes. This rice shines on its own or as a companion to recipes like Cuban Mojo Chicken With Yellow Rice or Butter Chicken With Turmeric Rice.
Year-Round Variations

- Spring: Swap peas for fresh asparagus tips or snap peas for a crisp bite.
- Summer: Add diced fresh tomatoes or grilled corn kernels for sweetness.
- Fall: Incorporate roasted butternut squash or sweet potatoes for a hearty twist.
- Winter: Stir in sautéed mushrooms or kale for earthy richness and nutrients.
- Spicy Kick: Add a pinch of cayenne pepper or chopped fresh chili for heat.
What Not to Do
- Don’t skip making your own annatto oil; it’s essential for authentic color and flavor.
- Avoid over-stirring the rice after adding it to the pan to keep it fluffy, not mushy.
- Don’t add lime juice too early in the cooking process—it loses its fresh brightness if cooked too long.
- Don’t use uncooked rice directly; using pre-cooked rice prevents clumping and ensures an even texture.
Save It for Later
This Java Rice keeps well in an airtight container in the refrigerator for up to 3 days. When reheating, sprinkle a little water over the rice and cover to retain moisture. Reheat gently in a skillet or microwave until warmed through. This makes it a great make-ahead side dish for busy weeknights or meal prep.
Troubleshooting Q&A
Why does my Java Rice turn out mushy?
Mushy rice often results from using freshly cooked rice that’s still hot and moist or over-stirring while cooking. Always use rice that has been cooked and cooled, ideally refrigerated overnight. Stir gently to combine ingredients without breaking the grains.
Can I substitute annatto seeds if I can’t find them?
While annatto seeds provide the signature color and subtle flavor, you can substitute with a pinch of turmeric for color, though the flavor will be slightly different. However, sourcing annatto seeds at an Asian market or online will give you the best results.
Is it possible to make this recipe vegan?
Absolutely! This recipe is naturally vegan and plant-based as it contains no animal products. Just be sure to use vegetable-based oils, like extra virgin olive oil or coconut oil.
How do I adjust the seasoning if I want it less salty?
Start by reducing the salt to 1/4 teaspoon and taste before serving. You can always add a pinch more if needed. The lime juice also helps balance saltiness by adding brightness.
What to Make After This
- Cuban Mojo Chicken With Yellow Rice – A zesty, citrus-marinated chicken that pairs beautifully with Java Rice.
- Butter Chicken With Turmeric Rice – Rich and creamy Indian-inspired chicken dish that complements the vibrant rice.
- Grilled Vegetables – Simple charred veggies to add a smoky contrast.
- Fresh Green Salad with Citrus Dressing – To brighten and lighten the meal.
Ready, Set, Cook
Java Rice is more than just a side dish; it’s a celebration of flavor, color, and texture all in one bowl. With its easy preparation and vibrant ingredients, this recipe is a fantastic addition to any dinner table. Once you try it, you’ll see why it’s a beloved favorite across kitchens. Ready to add some sunshine to your rice game? Grab those annatto seeds and get cooking!
Share on Pinterest


Java Rice
Ingredients
- 4 tablespoons annatto oil
- 1 clove garlic finely chopped
- 0.5 medium onion finely chopped
- 1.5 cups green peas frozen or fresh
- 1 cup roasted peppers diced, from a jar or homemade
- 4 cups jasmine rice cooked
- 1 teaspoon paprika
- 1 whole lime zested and juiced (use zest of entire lime and 1 tablespoon juice)
- 0.5 teaspoon salt
- 0.5 teaspoon pepper
- 1.5 tablespoons annatto seeds used to make the annatto oil
- 3 tablespoons extra virgin olive oil or coconut oil for frying and infusing flavor
Instructions
Prepare the Annatto Oil
- Start by heating 3 tablespoons of extra virgin olive oil or coconut oil in a small saucepan over medium heat. Add the 1 1/2 tablespoons of annatto seeds and let them infuse the oil for about 5-7 minutes, stirring occasionally. Once done, strain out the seeds and reserve the oil for cooking.
Sauté the Aromatics
- In a large skillet or sauté pan, heat the annatto oil over medium heat. Add the finely chopped garlic and onion, sautéing until fragrant and translucent, about 3-4 minutes.
Add the Vegetables and Spices
- Stir in the green peas and roasted peppers, mixing well. Sprinkle in the paprika, salt, and pepper. Cook for another 3-5 minutes until the peas are tender and the peppers are heated through.
Combine the Rice
- Add the cooked jasmine rice to the pan, breaking up any clumps gently. Toss everything together to combine and heat through evenly, about 5 minutes. Be careful not to over-stir to maintain fluffy rice grains.
Brighten with Lime
- Remove the pan from heat and immediately add the lime zest and one tablespoon of lime juice. Gently fold these into the rice, allowing the citrusy brightness to lift the flavors.
Serve and Enjoy
- Serve your Java Rice warm, alongside your favorite protein or vegetable dishes.
Equipment
- Small Saucepan
- Large Skillet
- Sharp Knife
- Chopping board
- Zester
- Measuring Spoons
- Measuring Cups
- Wooden Spoon
Notes
- Use pre-cooked and cooled rice to avoid mushy texture and clumping.
- Make your own annatto oil for authentic color and flavor.
- Do not add lime juice during cooking; add it last to maintain brightness.
- Store leftovers in an airtight container in the fridge for up to 3 days and reheat gently with a splash of water.
- Try seasonal variations by swapping vegetables like asparagus, tomatoes, or mushrooms for different flavors year-round.

