I broke my java software i think

So basically, I installed a game called Tachyons on itch.io which I needed to install a java Temurin for but I already had Oracle installed and now none of my .jar files will open at all and I'm kinda scared I broke everything and it tells me that theres some kind of error in one .jar file but A. its the primary game file and it worked once before. and B. I tried a fresh install of it and it didn't change anything and I don't know who to ask so I came here and asked you guys please help me 🙏
113 Replies
JavaBot
JavaBot2mo ago
This post has been reserved for your question.
Hey @cat! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
ayylmao123xdd
ayylmao123xdd2mo ago
guessing but did your path change java path
cat
catOP2mo ago
dude i have no clue this is on java sorry i meant mac just tell me what to do and ill follow everything i really didnt understand it lmao wheels all yours i somehow found my VMs for it uhh
ayylmao123xdd
ayylmao123xdd2mo ago
do java -version in cmd
cat
catOP2mo ago
I followed a tutorial I found and managed to get rid of all my java instances it now shows The operation couldn’t be completed. Unable to locate a Java Runtime. Please visit http://www.java.com for information on installing Java. so ill try a new install for what I need and see how it interacts this is what happens on the java -version cmd btw
ayylmao123xdd
ayylmao123xdd2mo ago
ok
cat
catOP2mo ago
thanks tho ill see if i encounter any more issues before i close now i triend the java - version and it seems to work final test reinstall the game and try it well i fixed the java issue but i got a new one now when i double click the game it will do the app open animation but nothing appears no error message no game display nothing
ayylmao123xdd
ayylmao123xdd2mo ago
which java version is this game supposed to run on
cat
catOP2mo ago
temurin 17.0.4.1+1 i think I might be running a newer vers crap well im running 17.0.16+8 and i cant seem to find any older ones
ayylmao123xdd
ayylmao123xdd2mo ago
should be ok what if you run that game thru cmd
cat
catOP2mo ago
sure what would i insert
ayylmao123xdd
ayylmao123xdd2mo ago
just the path to file wait
cat
catOP2mo ago
im so sorry im stupid asf
ayylmao123xdd
ayylmao123xdd2mo ago
just type the path to the file
cat
catOP2mo ago
how do i find the path
ayylmao123xdd
ayylmao123xdd2mo ago
so c users etc etc
cat
catOP2mo ago
uhh
ayylmao123xdd
ayylmao123xdd2mo ago
right click on launch file properties path and u get ur path + file name
cat
catOP2mo ago
found it so uhh my computer is now gaslighting me
ayylmao123xdd
ayylmao123xdd2mo ago
in cmd type your path + file name.extension and see if it launches
cat
catOP2mo ago
its saying the path or directiory doesnt exist
ayylmao123xdd
ayylmao123xdd2mo ago
interesting
cat
catOP2mo ago
"no such file or directory
ayylmao123xdd
ayylmao123xdd2mo ago
ok whatever try running the game as administrator
cat
catOP2mo ago
i can give you the file path
ayylmao123xdd
ayylmao123xdd2mo ago
if u can
cat
catOP2mo ago
well my account is the admin and it is a Mac but ill give it a shot yeah nothing
ayylmao123xdd
ayylmao123xdd2mo ago
oh yea u use mac so that path thing wont work 1 second
cat
catOP2mo ago
ok
ayylmao123xdd
ayylmao123xdd2mo ago
open ur cmd
cat
catOP2mo ago
terminals already open
ayylmao123xdd
ayylmao123xdd2mo ago
and drag that launch file onto cmd
cat
catOP2mo ago
ok one sec
ayylmao123xdd
ayylmao123xdd2mo ago
and it should put the path in cmd and just run it
cat
catOP2mo ago
what the hell? it says permission denied tf im the only person with Auth on this computer
ayylmao123xdd
ayylmao123xdd2mo ago
idk how mac works but dont u have to run cmd as admin
cat
catOP2mo ago
we dont really have an admin system its more of the primary user can give apps permissions in the privacy tab and I'm not seeing anything unusual
ayylmao123xdd
ayylmao123xdd2mo ago
i googled it and it says it might be permission to launch thing maybe so idk lets try run this
cat
catOP2mo ago
ok
ayylmao123xdd
ayylmao123xdd2mo ago
chmod +x [path to launch file] if u trust that game ofc
cat
catOP2mo ago
i do it just hands me 'no such file or directory chmod +x /Users/(username)/Downloads/Tachyons a0838/client thats what I ran wait maybe thats it where it reads client it doesnt have tachyons.jar is that an issue that just opens a folder
ayylmao123xdd
ayylmao123xdd2mo ago
i would hide ur name if i were u edited the message or something put xxxxxxxxx ez
cat
catOP2mo ago
mb gng
ayylmao123xdd
ayylmao123xdd2mo ago
anyway in client theres this tachyons.jar yes or no
cat
catOP2mo ago
yeah
ayylmao123xdd
ayylmao123xdd2mo ago
then do chmod +x /Users/(username)/Downloads/Tachyons a0838/client/tachyons.jar or whatever that file name is to run simplest way is
cat
catOP2mo ago
chmod +x /Users/(username)/Downloads/Tachyons a0838/client I ran this and it still "doesnt exist"
ayylmao123xdd
ayylmao123xdd2mo ago
just drag that tachyons file into cmd so it gives u the path and u add the chmod +x manually
cat
catOP2mo ago
ok well i can do that but then it just doesnt give me a reply but it put light grey brackets around it so its a valid command
ayylmao123xdd
ayylmao123xdd2mo ago
it should be empty i think
cat
catOP2mo ago
yeah
ayylmao123xdd
ayylmao123xdd2mo ago
now try to run that
cat
catOP2mo ago
it is
ayylmao123xdd
ayylmao123xdd2mo ago
launcher
cat
catOP2mo ago
ok
ayylmao123xdd
ayylmao123xdd2mo ago
through cmd again
cat
catOP2mo ago
ok the open command was valid too and nothing is beneath it but nothings opening
ayylmao123xdd
ayylmao123xdd2mo ago
and what if you run by clicking not cmd
cat
catOP2mo ago
ill try nothing it does the macOS app opening animation where it expands and fades and greys out other applications but thats it
ayylmao123xdd
ayylmao123xdd2mo ago
ok ill read about it
cat
catOP2mo ago
it might be the JavaLauncher? i cant seem to access the javalauncher files wierd
ayylmao123xdd
ayylmao123xdd2mo ago
what files do you have in that folder btw
cat
catOP2mo ago
not sure but I think it might be old cached files from not fully deleted ones previously it would explain the fact it opened once and never again i think
ayylmao123xdd
ayylmao123xdd2mo ago
you can try reinstalling the game then ig can you send the link to that game btw so i can check the files out
cat
catOP2mo ago
yeah sure
cat
catOP2mo ago
itch.io
Tachyons by Spektor
It's like FTL but multiplayer :)
ayylmao123xdd
ayylmao123xdd2mo ago
which file were you trying to run tachyons.jar or tachyons.exe
cat
catOP2mo ago
it was tachyons.jar in clients
ayylmao123xdd
ayylmao123xdd2mo ago
run tachyons.exe
cat
catOP2mo ago
i cant thats a windows file
ayylmao123xdd
ayylmao123xdd2mo ago
oh 1 sec
cat
catOP2mo ago
ill probably just uninstall it if this last thing doesnt work mainly because I need sleep cause its late and because terminal loves spitting words that dont like me
ayylmao123xdd
ayylmao123xdd2mo ago
ok last chance l0l try this
cat
catOP2mo ago
ol
ayylmao123xdd
ayylmao123xdd2mo ago
java -jar [jar file in client with path + file extension]
cat
catOP2mo ago
ok**
ayylmao123xdd
ayylmao123xdd2mo ago
paste the command here btw hide ur name so bots dont see it or something
cat
catOP2mo ago
ok java -jar /Users/(name)/Downloads/Tachyons\ a0838/client/Tachyons.jar that?
ayylmao123xdd
ayylmao123xdd2mo ago
yea run it
cat
catOP2mo ago
ill give it a shot
ayylmao123xdd
ayylmao123xdd2mo ago
did you drag the jar file to get that path btw sometimes it needs to be in quotes
cat
catOP2mo ago
yeah
ayylmao123xdd
ayylmao123xdd2mo ago
ok
cat
catOP2mo ago
ill add quotes in my term
ayylmao123xdd
ayylmao123xdd2mo ago
run and show logs if any appear
cat
catOP2mo ago
uhh its asking me for a quote now
ayylmao123xdd
ayylmao123xdd2mo ago
what quote
cat
catOP2mo ago
idk it just says quote oh wait sorry fixed i found a bug in the code line i wrote wrong quotation mark Error: Unable to access jarfile /Users/(username)/Downloads/Tachyons a0838/client/Tachyon.jar
ayylmao123xdd
ayylmao123xdd2mo ago
huh interesting ok different strategy
cat
catOP2mo ago
ok
ayylmao123xdd
ayylmao123xdd2mo ago
do cd cd [client folder] and then if it works java -jar Tachyon.jar
cat
catOP2mo ago
so cd (drag and drop jar file)
ayylmao123xdd
ayylmao123xdd2mo ago
no drop client folder and then add cd at the beginning
cat
catOP2mo ago
ohh ok
ayylmao123xdd
ayylmao123xdd2mo ago
and then java -jar Tachyons.jar or whatever that file name is
cat
catOP2mo ago
Error: Unable to access jarfile Tachyon.jar
ayylmao123xdd
ayylmao123xdd2mo ago
i got tachyons.jar
cat
catOP2mo ago
oh wait
ayylmao123xdd
ayylmao123xdd2mo ago
you sure its tachyon
cat
catOP2mo ago
its tachyons
ayylmao123xdd
ayylmao123xdd2mo ago
then run with the correct name lol
cat
catOP2mo ago
well uhh something happened but nothings actually opening its a larger text file Loading client parameters Exception in thread "main" com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load shared library 'libgdx.dylib' for target: Mac OS X, 32-bit at com.badlogic.gdx.utils.SharedLibraryLoader.load(Unknown Source) at com.badlogic.gdx.utils.GdxNativesLoader.load(Unknown Source) at com.badlogic.gdx.backends.lwjgl.LwjglNativesLoader.load(Unknown Source) at com.badlogic.gdx.backends.lwjgl.LwjglApplication.<init>(Unknown Source) at com.badlogic.gdx.backends.lwjgl.LwjglApplication.<init>(Unknown Source) at tk.spgames.spaceteam.desktop.DesktopLauncher.main(Unknown Source) Caused by: com.badlogic.gdx.utils.GdxRuntimeException: Unable to read file for extraction: libgdx.dylib at com.badlogic.gdx.utils.SharedLibraryLoader.readFile(Unknown Source) at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(Unknown Source) ... 6 more
ayylmao123xdd
ayylmao123xdd2mo ago
there we go
cat
catOP2mo ago
is it maybe because I'm running an M1 i hate intel and silicon software inconsistencies i think its the OSX 32 bit
ayylmao123xdd
ayylmao123xdd2mo ago
i gtg but when ill come back ill think about it
cat
catOP2mo ago
ok
ayylmao123xdd
ayylmao123xdd2mo ago
i think its the 32 bit and 64 bit incompatibility
cat
catOP2mo ago
yeah me too ill probably do a wine or whisky workaround see ya thanks for everything too
ayylmao123xdd
ayylmao123xdd2mo ago
what i read is you need some emulator to run that jar file on ur laptop rosetta 2 or something
dan1st
dan1st2mo ago
Can you check the output of java -version? Maybe you installed a 32bit JDK
JavaBot
JavaBot2mo ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
ayylmao123xdd
ayylmao123xdd2mo ago
@dan1st | Daniel oh moderators
dan1st
dan1st2mo ago
thx

Did you find this page helpful?