this application has requested the runtime to terminate it in an unusual way : when I try to run java code the "this application has requested the runtime to terminate it in an unusual way" is coming and after that at my console window this message is showing "terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::erase"

OS: Windows 7
This issue is only coming in jdk 1.8.0_161 64 bit
But the code is working in jdk 9 and 7 64 bit 


Please help me out!!





