Question: I have version 11.0.1 of firebase installed on my Windows 11 machine. When I run the firebase emulators, it crashes with this message:

> 
> `$ firebase emulators:start`
>   
>   
> 
> !! emulators: firebase-tools no longer supports Java version before 11. Please upgrade to Java version 11 or above to continue using the emulators.
> i emulators: Shutting down emulators.
>   
>   
> 
> Error: firebase-tools no longer supports Java version before 11. Please upgrade to Java version 11 or above to continue using the emulators.
> 
> 
> 

I try to update my Java but it says I have the latest version:

[![enter image description here](https://i.stack.imgur.com/d4p0p.png)](https://i.stack.imgur.com/d4p0p.png)

I check what version I have and it says version 8... though I need 11? I'm confused:

[![enter image description here](https://i.stack.imgur.com/v5WWN.png)](https://i.stack.imgur.com/v5WWN.png)

I try checking the version in the CLI and I get even more confused:

> 
> $ java -version   
> 
> java version "1.8.0\_333"   
> 
> Java(TM) SE Runtime Environment (build 1.8.0\_333-b02)   
> 
> Java HotSpot(TM) 64-Bit Server VM (build 25.333-b02, mixed mode)
> 
> 
> 

My questions are:

1. How can I get my firebase emulators to run again?
2. What version of Java do I have? 11? 8? 1.8?
3. How can I upgrade to the latest version of Java?

Answer: 
The best way to tell what version you have is to open a terminal shell and type:

```
java -version

```

I think you have JDK 8. That is long past the end of its support life.

You want either JDK 11 or, better yet, 17. Those are the two LTS versions to choose from.

You can download JDK 11 or 17 from [OpenJDK](https://www.azul.com/downloads/?package=jdk).
On macOS you can download the latest version of the JDK by downloading the [OpenJDK installer on AdoptOpenJDK](https://adoptopenjdk.net/archive.html?variant=openjdk11&jvmVariant=hotspot).