+ 5

Does anyone know how to make computer support jar file if the computer does not support

My computer does not support jar files and so eveytime i need to write the commands again and again which i dont like also i dont want to use ides now and than

16th Mar 2019, 11:27 AM
Rajb957
Rajb957 - avatar
9 Respostas
+ 26
What do you mean actually ? 1. If it doesn't support .jar file then install java. 2.Reading the description i understand that java is installed, may be you are talking about setting PATH? If so, then seach for environmental variable then edit the variable named PATH. Change its value by adding a semicolon(if windows os) or colon(if linux) and then continuing with the absolute bin path of where java's jdk folder is present.
16th Mar 2019, 11:33 AM
Jaseem Akhtar
+ 20
Open cmd where the the file is present. Then run that file via command , "java -jar filename.jar"
16th Mar 2019, 12:57 PM
Jaseem Akhtar
+ 18
Is it running when you try with command prompt ?
16th Mar 2019, 3:16 PM
Jaseem Akhtar
+ 18
Set PATH environment variable and select the default app as java for opening jar files.
16th Mar 2019, 3:17 PM
Jaseem Akhtar
+ 17
What do you mean? .java file or .jar file? Which one you are creating ?
16th Mar 2019, 12:39 PM
Jaseem Akhtar
+ 2
It am still not getting although i am have java downloaded still the jar file is not opening there is nothing on screen although i create a java file
16th Mar 2019, 12:31 PM
Rajb957
Rajb957 - avatar
+ 2
I am talking about jar file i have created a jar file using bluej an ide and now when i click that file it just shows a loading circle and then nothing opens on a screen i dont know why it does not open but it does not get opened
16th Mar 2019, 12:42 PM
Rajb957
Rajb957 - avatar
+ 2
16th Mar 2019, 1:59 PM
Rajb957
Rajb957 - avatar
+ 2
You helped me still i didn't got the answer but i know the problem now JaseemAkhtar
16th Mar 2019, 2:00 PM
Rajb957
Rajb957 - avatar