Similar Posts

Subscribe
Notify of
4 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
medmonk
1 year ago

when I say open with a .jar file Java is not shown

Opens with“ only the applications for files or File formats that are already known and assigned. Be it connected by a program installation or by a manual assignment.

If the Java runtime environment is to be listed in the context menu under “Open with” it is only necessary to add it. It should actually be enough if you click on “ in this context menuSelect a program…“click and then select the Java.exe of the runtime environment.

You can also make the runtime environment known to the system in which you apply or store the path as a user fan. Java would then be available globally and Java program code can also be run relatively easily via the command line. The same also applies to a compilat, i.e. for applications developed in Java, which are then specially compiled for a platform.

LG medmonk

ZaoDaDong
1 year ago

You don’t even run it on Windows, but on the Java VM.

And this is very similar on all operating systems.

On Windows you can control the Java.exe of the JDK or the JRE for older versions.

Java.exe -jar 

Jar – Files are basically only Zip – Archives. So if you want to open the file to see its content, you can also easily open the Jar file with 7-zip.

NackterGerd
1 year ago

Java can only be performed on Jave and not on Windows

germanils
1 year ago

You must add Java to the PATH, or specify the path to Java when you call.

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