I have created a text editor using Java, and have it packed in a jar file using Netbeans.
Now I created a text file, with an extension of ".text".
I'm on Windows 7, so using it's property window I changed the default opening program to my text editor's jar file.
Now when I double click the file with ".text" extension, windows shows a dialogbox saying "{file name} is not a valid win32 application".
Please help me out of it..
Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…