getch() and getche() both are not working using JNI in Eclipse built in console widow
posted 6 years ago
I am facing a strange problem and i really get tired with fighting it...I don't know where i am doing wrong.
Actually i a just want to get the getche() functionilty in my java console application,i mean want to decide on the basis of what user's input charcter without letting him press Enter button.
Everything is just working perfect when i run application from command prompt of Window.But when i run application from Eclipse.It never ask user to enter the character but simply just exit programme by returning -1 value as user's entered value.