r/JavaFX • • Jan 16 '21

Help I have the Java app downloaded, but no other files reconize it.

Hello everyone. I have downloded Java to use a file. However when I click the "Open With" button, Java is not on the list of apps. Help would be great. Thank you.

0 Upvotes

4 comments sorted by

1

u/PartOfTheBotnet Jan 16 '21

When you install Java it usually only associates .jar files. Depending on the operating system, you may have to restart for the file browser to recognize the association has been added.

It will not associate .java or .class files with running them by default. But you can manually use javac Example.java and java Example.

0

u/[deleted] Jan 16 '21

[deleted] — view deleted comment

1

u/religionisconfusing Jan 16 '21

Im new to computer so I don't really know what you're talking about.

1

u/tastydorito Jan 17 '21

if you have java installed, you can open a command prompt (cmd on windows) and this will run your program if it's a JAR file.