No Java SDK needed: one plain Java 25 file to call TypeSafe's Jev API

therealdanvega · x · 2026-09-18

Developer Dan Vega shared a minimal example for calling TypeSafe's Jev model from plain Java 25: a single file, no framework, no dependencies, just one HTTP call.

Setup: install JDK 25+, grab an API key from the TypeSafe console, and run TYPESAFEAPIKEY=your-key java HelloJev.java—Java compiles and runs the single file with no build tool. The demo sends a customer message about a failing Stripe integration and asks three structured questions in one request: urgency as a 0–1 probability, routing as a choice among billing/integrations/shipping, and severity as a 3-level score, showcasing Jev's noul/choice/score output types.

Original post →

More from coding & agent

coding & agent channel →