0

Right now my .jar files open with:

"C:\Java\jdk-11\bin\javaw.exe" -jar "%1" %*

How can I change path to my jdk? I mean how can I write this command, not just choose path to exe-file?

1 Answers1

0

You can set or change the PATH system variable please follow this article.

This article applies to:

Platform(s): Oracle Linux, Red Hat Linux, SUSE Linux, Solaris SPARC, Windows 7, Windows 8, Windows Vista, Windows XP, Mac OS X

https://www.java.com/en/download/help/path.xml

Abhijit
  • 374
  • 3
  • 15