Hi Sarita,
Gauge works perfectly fine with JDK 1.8.
Looking back at your case, here's my best guess what would have happened. In IntelliJ, there are a couple of places in the project settings where you have to specify the JDK version. And all these settings should be in sync. If one setting is different from the other, there may be issues.
Could you please ensure that you have the same JDK version everywhere in the settings? Here's the list of places where you can specify JDK version in IntelliJ.
- Project Settings > Project > Project SDK
- Project Settings > Modules > Sources / Dependencies
Regards,
Mahendra