# Getting Rid Of The “Invalid Java Version” Popup In Pterodactyl

<span style="color: rgb(0, 0, 0);">Simple config line.</span>

<span style="color: rgb(176, 19, 243);">*nano /var/www/pterodactyl/resources/scripts/components/server/features/JavaVersionModalFeature.tsx*</span>

<span style="color: rgb(0, 0, 0);">Delete all const MATCH\_ERRORS and enter whatever for the last line and put a comma, like the below for an example.</span>

<span style="color: rgb(0, 0, 0);">![](https://docs.jasmeow.systems/uploads/images/gallery/2024-02/hBPPV0Mn6GNrdWOO-embedded-image-4nqjqrn5.png)</span>  
<span style="color: rgb(0, 0, 0);"> </span>  
<span style="color: rgb(0, 0, 0);">Save, rebuild panel using ptero's community "build the panel assets" doc. </span>

<span style="color: rgb(0, 58, 255);">[https://pterodactyl.io/community/customization/panel.html](https://pterodactyl.io/community/customization/panel.html)</span>