#JAR. files aren't running

82 messages · Page 1 of 1 (latest)

stoic knoll
#

I tried installing java, jarfix, and a jar file onto my pc (linux mint of course) and none of them ran, I tried setting it to autorun prompt but i got the same results.

#

soooooo

worldly harbor
stoic knoll
#

jar files

worldly harbor
#

but you said something about mods, which hint that you may have tried to run minecraft mods THROUGH java INSTEAD of minecraft

#

so idk

stoic knoll
#

they should be jar files and i can use them 2 install the minecraft mod

#

they're jar files that are installers for the mods i use

#

but they don't run and i dont know how to install java

worldly harbor
#

have you ran those commands you were told in the general chat?

#

the sudo apt install openjdk-jre?

stoic knoll
#

i'll try them again

worldly harbor
#

if that doesn't work, check if it says anything about similar packages

stoic knoll
#

E: Package 'openjdk-jre' has no installation candidate

granite mesa
#

What exactly are you trying to do

worldly harbor
granite mesa
#

not what you think you need to do to get from A to B the actual goal

worldly harbor
stoic knoll
#

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package openjdk-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

worldly harbor
granite mesa
#

why don't you search for the name of the package instead of guessing what it is called

worldly harbor
stoic knoll
granite mesa
#

hint literally type the word java in a terminal and press enter it will tell you java not found but can be installed with....

worldly harbor
stoic knoll
#

i installed linux mint 3-4 hours ago

worldly harbor
#

and run whatever you needed to again

#

do it through terminal if it doesn't open anything at all (java -jar filename)

stoic knoll
#

openjdk-21-jre: command not found

worldly harbor
stoic knoll
#

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
openjdk-21-jre is already the newest version (21.0.4+7-1ubuntu2~24.04).
0 upgraded, 0 newly installed, 0 to remove and 127 not upgraded.

worldly harbor
#

now try to run the file

granite mesa
#

note intalling java doesn't mean you an click on jar files like exes

stoic knoll
#

cause autorun prompt doesn't do anything

granite mesa
#

rewind what are you trying to do in your own words

worldly harbor
#

for me I could do that perfectly fine

stoic knoll
#

i'm trying to run files that should be JARs but dont run

granite mesa
#

try again

worldly harbor
stoic knoll
#

wait one secomnd

#

OK so it gives me the command to select java to run it but it says its not an executable file

#

The file '/home/computeration/Downloads/RusherHackInstaller.jar' is not marked as executable. If this was downloaded or copied from an untrusted source, it may be dangerous to run. For more details, read about the executable bit.

#

which is ridiculous because it worked perfectly fine before

worldly harbor
granite mesa
#

Is the mod even meant to be run as a standalone executable?

#

or is it intended to be run by the game

stoic knoll
#

it's an installer and than i can put the mod into minecraft

worldly harbor
stoic knoll
#

fucking finally

#

it worked

worldly harbor
#

so yeah you already had java but needed to learn how to run jar files without gui KEKW

stoic knoll
granite mesa
#

to run a jar file one does java -jar /path/to/jar

worldly harbor
worldly harbor
stoic knoll
#

if i didnt play cod or rainbow i probably would have it on my main PC too lol

worldly harbor
#

that or the file managers I use had that option, idk

granite mesa
#

@worldly harbor your environment can be configured to handle jars by calling java its not a function of your filesystem or your file manager its purely a configuration detail

#

and its unlikely to be configured by default because why would it be

worldly harbor
granite mesa
#

@stoic knoll I'm suprised that wherever you got that jar file didn't give any instructions whatsoever as far as running it

#

lol are you pirating it?

worldly harbor
#

I was thinking of that too, but maybe they just skipped it or something?

worldly harbor
stoic knoll
#

i know exactly what 2 do with it i've used it for over a year, its just cuz im on an entirely new operating system i have no clue what to do and if the same rules still apply

granite mesa
#

good so java -jar /path/to/jar did that run ok for you?

worldly harbor
#

the OS has really nothing to do, other than maybe MacOS, and Linux only the install process

stoic knoll
#

yeah i've never coded a day in my life although i plan to get used to linux because if i have 2 start paying for windows 10 than im getting linux mint

worldly harbor
mortal garnet
#

Lets continue discussions unrelated to the thread in general channels, so others have a easier time finding helpful thing here.

worldly harbor
#

it's technically very related to the issue but ok... shruggie

granite mesa
#

Here is what support for jars would look like in the format of a desktop file in ~/.local/share/applications