Double Clicking JAR file does not open Command Prompt

前端 未结 3 1521
礼貌的吻别
礼貌的吻别 2020-11-30 12:02

I want to run a Jar file by double clicking it.

Following is the only Java class file present in it.

import java.io.BufferedReader;
import java.io.In         


        
3条回答
  •  半阙折子戏
    2020-11-30 12:24

    May be your .jar file has binded with any other default program, Right click and open with 'Java(TM) Platform SE binary'. This should work if have a executable jar file.

提交回复
热议问题