You are not logged in.

#1 2023-02-22 22:54

0ver2
Member
Registered: 2023-02-22
Posts: 8

[SOLVED]Can"t find 'OpenJDK Java 11 Runtime' in 'Open with'

Just installed 'default-jre' in apt, but when trying to open a .jar program file, there is nothing in the list of 'Known Applications' that hints to Java.

Last edited by 0ver2 (2023-03-03 16:03)

Offline

#2 2023-02-24 18:41

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: [SOLVED]Can"t find 'OpenJDK Java 11 Runtime' in 'Open with'

0ver2 wrote:

Just installed 'default-jre' in apt, but when trying to open a .jar program file, there is nothing in the list of 'Known Applications' that hints to Java.

How are you trying to "open" the .jar file? I usually do this via terminal:
1. Launch konsole (terminal)
2. Navigate to your .jar file's path, right-click on a blank space and select "open terminal here".
3. In the terminal run this:

java -jar file_name.jar

It's always worked for me.

Hope this helps! smile

Offline

#3 2023-02-27 01:26

crosscourt
Member
From: Wash DC
Registered: 2017-05-07
Posts: 1,872
Website

Re: [SOLVED]Can"t find 'OpenJDK Java 11 Runtime' in 'Open with'

Synaptic has OpenJDK Runtime already installed and other packages are available as well.


Q4OS Aquarius 5.x KDE   Dell Inspiron 3670  i5 8600, GTX 1660 Super, 32gb, 2tb NVME SSD

Offline

#4 2023-03-03 16:02

0ver2
Member
Registered: 2023-02-22
Posts: 8

Re: [SOLVED]Can"t find 'OpenJDK Java 11 Runtime' in 'Open with'

Tolkem wrote:
0ver2 wrote:

Just installed 'default-jre' in apt, but when trying to open a .jar program file, there is nothing in the list of 'Known Applications' that hints to Java.

How are you trying to "open" the .jar file? I usually do this via terminal:
1. Launch konsole (terminal)
2. Navigate to your .jar file's path, right-click on a blank space and select "open terminal here".
3. In the terminal run this:

java -jar file_name.jar

It's always worked for me.

Hope this helps! smile

Yes it did. Strangely it worked only over terminal, when I choose GUI context menu point 'Open with...' (Konqueror), it only flashes a terminal window in response and nothing further happens.

crosscourt wrote:

Synaptic has OpenJDK Runtime already installed and other packages are available as well.

Good to know, thanks!

Offline

#5 2023-03-03 16:03

0ver2
Member
Registered: 2023-02-22
Posts: 8

Re: [SOLVED]Can"t find 'OpenJDK Java 11 Runtime' in 'Open with'

Konqueror is pretty strange

Offline

#6 2023-03-03 22:59

crosscourt
Member
From: Wash DC
Registered: 2017-05-07
Posts: 1,872
Website

Re: [SOLVED]Can"t find 'OpenJDK Java 11 Runtime' in 'Open with'

Browser or file manager?  File manager is pretty good but the browser is completely hopeless and simply too far behind to be of any value.


Q4OS Aquarius 5.x KDE   Dell Inspiron 3670  i5 8600, GTX 1660 Super, 32gb, 2tb NVME SSD

Offline

Board footer

Powered by FluxBB