#JAR. files aren't running
82 messages · Page 1 of 1 (latest)
what kind of file are you trying to run
jar files
but you said something about mods, which hint that you may have tried to run minecraft mods THROUGH java INSTEAD of minecraft
so idk
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
have you ran those commands you were told in the general chat?
the sudo apt install openjdk-jre?
i'll try them again
if that doesn't work, check if it says anything about similar packages
E: Package 'openjdk-jre' has no installation candidate
What exactly are you trying to do
apparently trying to run minecraft mods
not what you think you need to do to get from A to B the actual goal
does it not say anything about similar packages??
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
telling them that but idk, I wonder how are they running minecraft without Java
why don't you search for the name of the package instead of guessing what it is called
try sudo apt search openjdk
hint literally type the word java in a terminal and press enter it will tell you java not found but can be installed with....
I'm trying to help as an arch user, also they seem extremely noobie so yeah
i installed linux mint 3-4 hours ago
try the openjdk-21-jre
and run whatever you needed to again
do it through terminal if it doesn't open anything at all (java -jar filename)
openjdk-21-jre: command not found
sudo apt install openjdk-21-jre
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.
now try to run the file
note intalling java doesn't mean you an click on jar files like exes
how do i open jar files than
cause autorun prompt doesn't do anything
rewind what are you trying to do in your own words
depends
for me I could do that perfectly fine
i'm trying to run files that should be JARs but dont run
try again
could you send the path to the folder it is in? (For if double-click doesn't work)
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
on the terminal, do "java -jar /home/computeration/Downloads/RusherHackInstaller.jar" also why rusherhack lol
Is the mod even meant to be run as a standalone executable?
or is it intended to be run by the game
it's an installer and than i can put the mod into minecraft
I'm wondering that too, but he didn't reply
hobby
fucking finally
it worked
so yeah you already had java but needed to learn how to run jar files without gui 
yeah sorry i'm an absolute noobie LOL
to run a jar file one does java -jar /path/to/jar
dw bro, I've also had my phase, if you continue using Linux you'll probs love the terminal sooner than later 
yeah
nah bro, I swear it was available through GUI
if i didnt play cod or rainbow i probably would have it on my main PC too lol
that or the file managers I use had that option, idk
@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
then it may have been pre-configured for that 
idk, luck? 
@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?
I was thinking of that too, but maybe they just skipped it or something?
considering "RusherHack", idk what to think
no i'm not that stupid
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
good so java -jar /path/to/jar did that run ok for you?
yeah
prog languages are more often than not cross-platform, so other than the package names, the commands usually (if not always) are the same
the OS has really nothing to do, other than maybe MacOS, and Linux only the install process
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
I'm just barely starting myself tbf, other than that the most I'd ever do is compile 
Lets continue discussions unrelated to the thread in general channels, so others have a easier time finding helpful thing here.
it's technically very related to the issue but ok... 
Here is what support for jars would look like in the format of a desktop file in ~/.local/share/applications