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
⌛ This post has been reserved for your question.
Hey @cat! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./closeor theClose Postbutton 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.
guessing but did your path change
java path
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
do java -version
in cmd
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
ok
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
which java version is this game supposed to run on
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
should be ok
what if you run that game thru cmd
sure
what would i insert
just the path to file
wait
im so sorry
im stupid asf
just type the path to the file
how do i find the path
so c users etc etc
uhh
right click on launch file
properties
path
and u get ur path
+ file name
found it
so uhh
my computer is now gaslighting me
in cmd type your path + file name.extension
and see if it launches
its saying the path or directiory doesnt exist
interesting
"no such file or directory
ok whatever
try running the game as administrator
i can give you the file path
if u can
well my account is the admin and it is a Mac but ill give it a shot
yeah nothing
oh yea
u use mac
so that path thing wont work
1 second
ok
open ur cmd
terminals already open
and drag that
launch file
onto cmd
ok
one sec
and it should put the path in cmd
and just run it
what the hell?
it says permission denied
tf
im the only person with Auth on this computer
idk how mac works but dont u have to run cmd as admin
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
i googled it and it says it might be permission to launch thing
maybe
so idk
lets try
run this
ok
chmod +x [path to launch file]
if u trust that game ofc
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
i would hide ur name
if i were u
edited the message or something
put xxxxxxxxx
ez
mb gng
anyway
in client theres this tachyons.jar yes
or no
yeah
then do
chmod +x /Users/(username)/Downloads/Tachyons a0838/client/tachyons.jar
or whatever that file name is
to run
simplest way is
chmod +x /Users/(username)/Downloads/Tachyons a0838/client I ran this and it still "doesnt exist"
just drag that tachyons file into cmd
so it gives u the path
and u add the chmod +x manually
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
it should be empty
i think
yeah
now try to run that
it is
launcher
ok
through cmd again
ok
the open command was valid too and nothing is beneath it
but
nothings opening
and what if you run by clicking
not cmd
ill try
nothing
it does the macOS app opening animation where it expands and fades
and greys out other applications
but
thats it
ok ill read about it
it might be the JavaLauncher?
i cant seem to access the javalauncher files
wierd
what files do you have in that folder btw
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
you can try reinstalling the game then ig
can you send the link to that game btw
so i can check the files out
yeah sure
which file were you trying to run
tachyons.jar or tachyons.exe
it was tachyons.jar in clients
run tachyons.exe
i cant
thats a windows file
oh
1 sec
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
ok
last chance
l0l
try this
ol
java -jar [jar file in client with path + file extension]
ok**
paste the command here btw
hide ur name
so bots dont see it or something
ok
java -jar /Users/(name)/Downloads/Tachyons\ a0838/client/Tachyons.jar
that?
yea
run it
ill give it a shot
did you drag the jar file to get that path btw
sometimes it needs to be in quotes
yeah
ok
ill add quotes in my term
run and show logs if any appear
uhh
its asking me for a quote now
what quote
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
huh
interesting
ok
different strategy
ok
do cd
cd [client folder]
and then if it works
java -jar Tachyon.jar
so cd (drag and drop jar file)
no
drop client folder
and then add cd at the beginning
ohh
ok
and then
java -jar Tachyons.jar
or whatever that file name is
Error: Unable to access jarfile Tachyon.jar
i got tachyons.jar
oh wait
you sure its tachyon
its tachyons
then run
with the correct name
lol
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
there we go
is it maybe because I'm running an M1
i hate intel and silicon software inconsistencies
i think its the OSX 32 bit
i gtg but when ill come back ill think about it
ok
i think its the 32 bit and 64 bit incompatibility
yeah me too
ill probably do a wine or whisky workaround
see ya
thanks for everything too
what i read is you need some emulator to run that jar file on ur laptop
rosetta 2 or something
Can you check the output of
java -version? Maybe you installed a 32bit JDK💤 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.@dan1st | Daniel oh moderators
thx