Respuesta a: Dudas de Java

#5233

Jonatan
Participante

Necesito ayuda, cuando intento usar JOptionPane.showImputDialog me sale este mensaje :

Multiple markers at this line – Access restriction: The method showInputDialog(Object) from the type JOptionPane is not accessible due to restriction on required library C:\Program Files\Java \jre1.8.0_121\lib\rt.jar – The value of the local variable mail is not used – Access restriction: The type JOptionPane is not accessible due to restriction on required library C:\Program Files\Java\jre1.8.0_121\lib\rt.jar</span>

Que tendria q hacer para solucionar eese problema?