简体   繁体   English

视窗。 申请文件类型

[英]Windows. Application for type of file

Right now my .jar files open with: 现在,我的.jar文件打开了:

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

How can I change path to my jdk? 如何更改jdk的路径? I mean how can I write this command, not just choose path to exe-file? 我的意思是我该如何编写此命令,而不仅仅是选择exe文件的路径?

You can set or change the PATH system variable please follow this article. 您可以设置或更改PATH系统变量,请遵循本文。

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 平台: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 https://www.java.com/en/download/help/path.xml

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 窗户上的虚假唤醒。 可能吗? - Spurious wakeups on windows. Is it possible? 爪哇视窗。 为什么我可以在命令提示符下运行 jar 文件但不能双击它 - Java Windows. why can I run a jar file on command prompt but not double clicking it 视窗。 如何添加PermGen空间? - Windows. How to add PermGen space? 为什么在使用Files.copy()在linux中复制文件时出现NoSuchFileException。 但是在Windows中可以正常工作。 - Why am I Getting NoSuchFileException while copying a file in linux using Files.copy(). But works fine in windows. 从Linux connecto上的Java到Windows上的odbc。 可能吗? - From java on linux connecto to odbc on windows. Is it possible? 什么是Mac和Windows的“有效系统进程”。 (java的ProcessBuilder) - what is a “Valid System process” for mac and windows. (java ProcessBuilder) Windows上的Grails错误。 找不到有效的证明 - Error with Grails on Windows. unable to find valid certification 一个程序,两个窗口。 如何使用观察者从1号通知2号变化? - One program, 2 windows. How to notify #2 from #1 of change using observer? 将文件类型与应用程序相关联 - Associating a file type with the application java中的文件类型(Windows,unix) - File type in java (Windows,unix)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM