Unable to find the java in the system path

i just installed Unity 2021.3.20f1 version couple days ago, everything was ordinary until i installed the Ads Meditaion package and and out of no where , whenever i open my Editor , the box message shows up said "Unable to find the java in the system path … " just like in this picture (i found it in the forum that exists years before that had the same problem as mine). As i dived in deeper , i tried to check for possibility that if i forgot to add JDK or SDK or not but no, they are all installed. Here is the link of the forum if you are interested : Unable to find the java in the system path

1 Like

Here is the pictures :


1 Like

And also whenever i try to edit and save scripts, there is a warning message that said "
Assets\IronSource\DemoScene\IronSourceDemoScript.cs(99,9): warning CS0618: ‘IronSourceEvents.onImpressionSuccessEvent’ is obsolete: ‘This method has been deprecated and won’t be included in ironSource SDK versions 7.3.0 and above. Please use OnImpressionDataReady instead.’ "

1 Like

It says you’re using 2020.1, did you try switching to latest LTS, also check that you’re not overriding JDK Path in Preferences->External Tools

  1. The current version that i’m using right now is Unity 2021.3.20f1,but before i moved to the current one, i did use 2021.3.18f1, the screenshot that i showed previously is from another forum that had the same problem as mine : https://discussions.unity.com/t/813434

2.Everything looks fine in External Tools , no issues appears

8937711--1225767--image_2023-04-10_154707500.png

Can you attach Editor.log which would contain the error above?

But also, it seems the error is coming from Android Resolver, which is not managed by Unity, it’s Google’s External Dependency Manager, you might want to update it.

1.Here’s the picture :
2.How can i update External Dependency Manager ? Can you provide a link or documentation of it ?

8939532--1226115--image_2023-04-11_101324280.png

1 Like

Still waiting for that Editor.log with error, the picture only contains warning, there’s no error.

External Dependency Manager is located here - https://github.com/googlesamples/unity-jar-resolver

Tomas, your solution is insane. It’s 30 pages of instructions on manually installing and encoding the Google Dependency Manager. That is not a real solution.

2 Likes

I discovered the issue was my unity install was somehow corrupted, I needed to completely purge all the player prefs and everything before reinstalling.

1 Like