nus-cs2103-AY1718S2 / forum

0 stars 1 forks source link

Solution: unable to start application using jar file #38

Open eugenepeh opened 6 years ago

eugenepeh commented 6 years ago

Hello students,

If you're unable to start your jar file by double clicking, this is most likely to be caused by java 9 jdk, you can try this alternative:

  1. find your java 8 jdk directory,
  2. open command prompt,
  3. cd to your jar file directory,
  4. and enter the command: e.g. "C:\Program Files\Java\jdk1.8.0_102\bin\javaw.exe" -jar YOUR_JAR_FILE_NAME.jar

You can do this with a windows shortcut by setting the parameters too Start in: your jar file directory Target: the command

Cheers!

Best regards, Eugene Peh