i have a jar application and it is running fine but when i added it to the right click context menu in windows 8. it says an error that this app can not run on your pc. what to do with this problem.
            Asked
            
        
        
            Active
            
        
            Viewed 205 times
        
    1 Answers
1
            
            
        You have to specify the Main-Class attribute in the manifest.mf file, inside the META-INF folder inside the jar. Take a look at this answer for details.
 
    
    
        Community
        
- 1
- 1
 
    
    
        Óscar López
        
- 232,561
- 37
- 312
- 386
- 
                    i have done all this but its not working. – Mohd Faizan Khan Apr 23 '13 at 21:52
- 
                    1Try running it from the command line using `java -jar`, to check if everything's working – Óscar López Apr 23 '13 at 21:53
- 
                    everything is working from the command line and even the application is running on double click. but it is not working from the right click menu of windows 8. and i am not using any frame work i am doing all this in notepad++. – Mohd Faizan Khan Apr 23 '13 at 22:03
