GenAI for Java Developers 1: Getting started
Skills:
LLM Foundations80%
Resources: https://aka.ms/JavaAndAIForBeginners
https://aka.ms/genaijava
In this episode, Ayan Gupta is joined by Rory who will guide you through the essential first steps of working with generative AI in Java. Just like brewing the perfect cup of coffee doesn't have to be complicated, getting started with GenAI for Java doesn't need to be intimidating when you have the right tools!
Building on the introduction, this hands-on episode shows you exactly how to set up your development environment quickly and easily. You'll learn how to use GitHub Codespaces to eliminate complicated setup processes, how to fork and work with the demo repository, and how to access GitHub Models—Microsoft's online repository of AI models that you can test with for free.
Rory demonstrates step-by-step how to create a fine-grained token for accessing GitHub Models, set up your dev container with all the necessary Java tools and Visual Studio Code pre-configured, and run your first "Hello World" example using the OpenAI SDK with GPT-4o mini. The best part? You can do all of this using GitHub's free tier for Codespaces, making it accessible to everyone.
This tutorial is perfect for Java developers who want to start experimenting with large language models without the hassle of complex local installations. By the end of this session, you'll have a working development environment and understand the foundational tools you'll use throughout the rest of this series.
Next up we'll dive deeper into core generative AI techniques, practical samples, and responsible AI practices. Don't forget to subscribe and follow along!
0:00 - Introduction: Making AI Simple Like Instant Coffee
0:23 - Why Getting Started Is the Scariest Part
0:54 - Setting Up the Demo Repository
1:01 - Forking the Generative AI for Beginners Java Repo
1:26 - Creating Your GitHub Codespace
1:51 - Creating a Fine-Grained Token for GitHub Models
2:42 - Configuring Your Dev Container
3:04 - Running Your First GitHub Models Example
3
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Microsoft Developer · Microsoft Developer · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Prepare for the DP-300 exam & the Azure Database Administrator Associate cert | Data Exposed
Microsoft Developer
What I Wish I Knew ... about landing a job in tech
Microsoft Developer
Igniting Developer Innovation with Vector Search
Microsoft Developer
Combining the power of vector search with Azure OpenAI then revolutionize image search with vectors!
Microsoft Developer
What I Wish I Knew ... about finding your place in tech
Microsoft Developer
Fluent UI React Insights: Accessible by default
Microsoft Developer
Signing Container Images with Notary Project
Microsoft Developer
What I Wish I Knew ... about finding your place in tech
Microsoft Developer
What programming languages does GitHub Copilot support?
Microsoft Developer
What I Wish I Knew ... about how much your job can change
Microsoft Developer
What I Wish I Knew ... about how much your job can change
Microsoft Developer
How do I become more confident about AI?
Microsoft Developer
How do I become more confident about AI?
Microsoft Developer
Performance Demos of SQL’s Intelligent Query Processing Feedback capabilities | Data Exposed
Microsoft Developer
What I Wish I Knew ... about coming to Microsoft
Microsoft Developer
What I Wish I Knew ... about coming to Microsoft
Microsoft Developer
Revolutionizing Image Search with Vectors
Microsoft Developer
Igniting developer innovation with Vector search and Azure OpenAI
Microsoft Developer
Getting Started with Azure AI Studio's Prompt Flow - Part 2
Microsoft Developer
What I Wish I Knew ... about finding my career path
Microsoft Developer
What I Wish I Knew ... about finding my career path
Microsoft Developer
Windows Terminal's journey to Open Source
Microsoft Developer
Can I trust the code that GitHub Copilot generates?
Microsoft Developer
What I Wish I Knew ... about interviewing
Microsoft Developer
What I Wish I Knew ... about interviewing
Microsoft Developer
What is the Microsoft TechSpark Program?
Microsoft Developer
SQL Server 2022: Accelerate query performance while reducing query compile time - w/ no code changes
Microsoft Developer
What I Wish I Knew ... about discovering computer science
Microsoft Developer
What I Wish I Knew ... about discovering computer science
Microsoft Developer
Call center transcription and analysis using Azure AI
Microsoft Developer
How to use Text Analytics for health in Azure AI Language
Microsoft Developer
Azure OpenAI-powered summarization in Azure AI Language
Microsoft Developer
Accelerate data labeling using Azure OpenAI and Azure AI Language
Microsoft Developer
Building a Private ChatGPT with Azure OpenAI
Microsoft Developer
What I Wish I Knew ... about how to interview
Microsoft Developer
What I Wish I Knew ... about how to interview
Microsoft Developer
Getting Started with Azure AI Studio's Prompt Flow - Part 3
Microsoft Developer
Intelligent Apps with Azure Kubernetes Service (AKS)
Microsoft Developer
Getting Started with Azure Blob Storage | Data Exposed: MVP Edition
Microsoft Developer
Chat + Your Data + Plugins
Microsoft Developer
What I Wish I Knew ... about different career paths
Microsoft Developer
What I Wish I Knew ... about different career paths
Microsoft Developer
Advanced Dev Tunnels Features | OD122
Microsoft Developer
Learn Live - Manage performance and availability in Azure Cosmos DB for PostgreSQL
Microsoft Developer
Plan your SQL Migration to Azure with confidence | Data Exposed
Microsoft Developer
What I Wish I Knew ... about social skills in a tech career
Microsoft Developer
What I Wish I Knew ... about social skills in a tech career
Microsoft Developer
All About Vectors, Search, and Function Calling in Azure OpenAI - Labor Day Special
Microsoft Developer
Introduction to project ORAS
Microsoft Developer
What I Wish I Knew ... about finding the right major
Microsoft Developer
What I Wish I Knew ... about finding the right major
Microsoft Developer
What I Wish I Knew ... about how to approach programming
Microsoft Developer
What I Wish I Knew ... about how to approach programming
Microsoft Developer
Learn Live - Scale from a single node to multiple nodes with Azure Cosmos DB for PostgreSQL
Microsoft Developer
What I Wish I Knew ... about diversity in tech #1
Microsoft Developer
What I Wish I Knew ... about diversity in tech #1
Microsoft Developer
Get started with SQL Server AGs across Windows, Linux and Container Replicas | Data Exposed
Microsoft Developer
Writing LLM Apps with Azure AI and PromptFlow
Microsoft Developer
What I Wish I Knew ... about how cool working in tech could be
Microsoft Developer
Open Source foundation models in Azure Machine Learning & optimization techniques behind the scenes
Microsoft Developer
More on: LLM Foundations
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
NVIDIA LocateAnything vs YOLO: Which Object Detection Model Should You Choose in 2026?
Medium · Programming
prompt drift is an operations nightmare. we started using gitops for our agents.
Reddit r/devops
Claude Fable 5 Is Not Just a New Model. It Is a New Way to Control AI Power
Medium · AI
I Studied AI for 30 Days. These 7 Lessons Changed How I Think About Technology.
Medium · AI
Chapters (8)
Introduction: Making AI Simple Like Instant Coffee
0:23
Why Getting Started Is the Scariest Part
0:54
Setting Up the Demo Repository
1:01
Forking the Generative AI for Beginners Java Repo
1:26
Creating Your GitHub Codespace
1:51
Creating a Fine-Grained Token for GitHub Models
2:42
Configuring Your Dev Container
3:04
Running Your First GitHub Models Example
🎓
Tutor Explanation
DeepCamp AI