Sweethome3d: Only the title window appears

sweethome3d 6.6-2 is not working, currently. Only the title window appears. I guess we have to wait for an udate on upstream side. :man_shrugging:

Try running it with different version of Java.

1 Like

$JAVA_HOME is empty.

I have jre-openjdk version 17.u35-1 installed (only):

$ java --version
openjdk 17 2021-09-14
OpenJDK Runtime Environment (build 17+35)
OpenJDK 64-Bit Server VM (build 17+35, mixed mode)

Can I install jre11-openjdk and/or jre8-openjdk just in addition?

Then, how to start the sweethome3d with a different java version by

sudo archlinux-java set java-11-openjdk

or do I have to create a little bash script e.g. with

#!/bin/sh

export PATH="/usr/lib/jvm/java-11-openjdk/bin/:$PATH"
exec /usr/bin/sweethome3d "$@"

?

Yes, thanks to archlinux-java.

That’s a good idea for applications that require an older version of Java. That way you can continue to keep a newer version as default. I did the same with my pdfstudioviewer AUR package last year.

1 Like

Thanks @Yochanan, it did work!

I installed jre11-openjdk, made a new script file sweethome3d_starter with mentioned content, placed it in /usr/local/bin, made it executable and created a new .desktop file to start it via icon.

Learnt something new today. :grin:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.