Regarding JavaFX Library error.

when we import JavaFX library in codechef IDE.

it was showing a syntax error.

How can we rectify this one??

it is showing error because javafx library(jfxrt.jar) is not default classpath in jdk<8,online ide and also codechef not provide it externally because codechef is not a site for questions related to frontend development.hence, conclusion is codechef provide support to limited libraries which are enough for competitive programming.

But In java,if we need to pair (Key,Value)
then we should use JavaFx Library.

Is there any another option for this one??