Zetsubou wrote: ↑Sun Sep 25, 2022 6:35 am
Is java 8 installed and is it the default JRE?
To check, open a terminal and run
I had the same problem (I think?) after updating from Linux Mint 20 to 21.
It had both openjdk-8-jre and openjdk-11-jre installed.
My solution was to uninstall the latter, since I don't need java 11.
But you could also just change the default java version to use, or use an environment variable, instead of uninstalling anything.
I see that I have the following.
openjdk version "11.0.16" 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu120.04)
OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)
I could have sworn I selected openjdk, unless one of my Linux mint updates did something to it. I will see what happens after changing it.
update: I selected the follwing:
openjdk version "1.8.0_345"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_345-b01)
OpenJDK 64-Bit Server VM (Temurin)(build 25.345-b01, mixed mode)
which resulted in the error below
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/android.rpy", line 507, in <module>
File "game/mobilebuild.rpy", line 214, in call
File "game/mobilebuild.rpy", line 238, in check_process
CalledProcessError: Command '['/home/linuxmc/Game Dev/renpy-8.0.1-sdk/rapt/Sdk/cmdline-tools/latest/bin/sdkmanager', '--update']' returned non-zero exit status 1.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "launcher/game/android.rpyc", line 505, in script
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/python.py", line 1061, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/android.rpy", line 507, in <module>
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/rapt/buildlib/rapt/install_sdk.py", line 360, in install_sdk
get_packages(interface)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/rapt/buildlib/rapt/install_sdk.py", line 179, in get_packages
if not run_slow(interface, plat.sdkmanager, "--update", yes=True):
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/rapt/buildlib/rapt/install_sdk.py", line 37, in run_slow
interface.call(args, cancel=True, **kwargs)
File "game/mobilebuild.rpy", line 214, in call
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/exports.py", line 3181, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/ui.py", line 299, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/core.py", line 3377, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/core.py", line 4258, in interact_core
rv = root_widget.event(ev, x, y, 0)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/screen.py", line 743, in event
rv = self.child.event(ev, x, y, st)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/behavior.py", line 2418, in event
return run(self.function, *self.args, **self.kwargs)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/behavior.py", line 329, in run
return action(*args, **kwargs)
File "game/mobilebuild.rpy", line 238, in check_process
CalledProcessError: Command '['/home/linuxmc/Game Dev/renpy-8.0.1-sdk/rapt/Sdk/cmdline-tools/latest/bin/sdkmanager', '--update']' returned non-zero exit status 1.
Linux-5.4.0-125-generic-x86_64-with-glibc2.31 x86_64
Ren'Py 8.0.3.22090809
Ren'Py Launcher 8.0.3.22090809
Sun Sep 25 08:28:49 2022
I selected another which also resulted in an error:
openjdk version "1.8.0_342"
OpenJDK Runtime Environment (build 1.8.0_342-8u342-b07-0ubuntu1~20.04-b07)
OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode)
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/android.rpy", line 507, in <module>
File "game/mobilebuild.rpy", line 214, in call
File "game/mobilebuild.rpy", line 238, in check_process
CalledProcessError: Command '['/home/linuxmc/Game Dev/renpy-8.0.1-sdk/rapt/Sdk/cmdline-tools/latest/bin/sdkmanager', '--update']' returned non-zero exit status 1.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "launcher/game/android.rpyc", line 505, in script
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/python.py", line 1061, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/android.rpy", line 507, in <module>
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/rapt/buildlib/rapt/install_sdk.py", line 360, in install_sdk
get_packages(interface)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/rapt/buildlib/rapt/install_sdk.py", line 179, in get_packages
if not run_slow(interface, plat.sdkmanager, "--update", yes=True):
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/rapt/buildlib/rapt/install_sdk.py", line 37, in run_slow
interface.call(args, cancel=True, **kwargs)
File "game/mobilebuild.rpy", line 214, in call
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/exports.py", line 3181, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/ui.py", line 299, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/core.py", line 3377, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/core.py", line 4258, in interact_core
rv = root_widget.event(ev, x, y, 0)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/screen.py", line 743, in event
rv = self.child.event(ev, x, y, st)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/behavior.py", line 2418, in event
return run(self.function, *self.args, **self.kwargs)
File "/home/linuxmc/Game Dev/renpy-8.0.1-sdk/renpy/display/behavior.py", line 329, in run
return action(*args, **kwargs)
File "game/mobilebuild.rpy", line 238, in check_process
CalledProcessError: Command '['/home/linuxmc/Game Dev/renpy-8.0.1-sdk/rapt/Sdk/cmdline-tools/latest/bin/sdkmanager', '--update']' returned non-zero exit status 1.
Linux-5.4.0-126-generic-x86_64-with-glibc2.31 x86_64
Ren'Py 8.0.3.22090809
Ren'Py Launcher 8.0.3.22090809
Sun Sep 25 08:34:19 2022