Print at Dec 22, 2025, 6:26:26 AM View all posts in this thread on one page
Posted by subgeek at Apr 24, 2021, 4:35:05 PM
Unable to run Sweet Home 3D in OpenBSD
All,

When attempting to run Sweet Home 3D in OpenBSD (with OpenJDK installed), SH3D returns the following.

$ ./SweetHome3D
: not foundin/java[4]: �
: not foundin/java[4]: �
: not foundin/java[4]: �
./runtime/bin/java[4]: : not found
./runtime/bin/java[4]: H��H���52
: not found
./runtime/bin/java[4]: H��t��H�ÐU�8: not found
]�8: not foundjava[4]: H��t�H��t
./runtime/bin/java[4]: UH��8: not found
./runtime/bin/java: syntax error: `)' unexpected
safesecs$ ./SweetHome3D-Java3D-1_5_2
: not foundin/java[4]: �
: not foundin/java[4]: �
: not foundin/java[4]: �
./runtime/bin/java[4]: : not found
./runtime/bin/java[4]: H��H���52
: not found
./runtime/bin/java[4]: H��t��H�ÐU�8: not found
]�8: not foundjava[4]: H��t�H��t
./runtime/bin/java[4]: UH��8: not found
./runtime/bin/java: syntax error: `)' unexpected


$ java -version openjdk version "1.8.0_265" OpenJDK Runtime Environment (build 1.8.0_265-b01) OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)


Any help would be greatly appreciated.

Thank you.

Posted by Puybaret at Apr 25, 2021, 12:03:21 AM
Re: Unable to run Sweet Home 3D in OpenBSD
Why not trying the “official” version available at SourceForge?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by subgeek at Apr 25, 2021, 5:23:18 AM
Re: Unable to run Sweet Home 3D in OpenBSD
Puybaret,

Thank you. One step closer. The Sweet Home splash screen pops up, however, the application never fully starts.

The following is displayed in the terminal.


Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.eteks.sweethome3d.SweetHome3DBootstrap.main(Unknown Source)
Caused by: java.lang.ExceptionInInitializerError
at com.jogamp.opengl.GLProfile.<clinit>(GLProfile.java:154)
at jogamp.opengl.ThreadingImpl$1.run(ThreadingImpl.java:83)
at jogamp.opengl.ThreadingImpl$1.run(ThreadingImpl.java:66)
at java.security.AccessController.doPrivileged(Native Method)
at jogamp.opengl.ThreadingImpl.<clinit>(ThreadingImpl.java:66)
at com.jogamp.opengl.Threading.disableSingleThreading(Threading.java:164)
at javax.media.j3d.JoglPipeline.initialize(JoglPipeline.java:129)
at javax.media.j3d.Pipeline.createPipeline(Pipeline.java:92)
at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:858)
at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:267)
at javax.media.j3d.GraphicsConfigTemplate3D.isGraphicsConfigSupported(GraphicsConfigTemplate3D.java:348
)
at com.eteks.sweethome3d.j3d.Component3DManager.createGraphicsConfigurationTemplate3D(Unknown Source)
at com.eteks.sweethome3d.j3d.Component3DManager.<init>(Unknown Source)
at com.eteks.sweethome3d.j3d.Component3DManager.getInstance(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D.addComponent3DRenderingErrorObserver(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D.init(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D.main(Unknown Source)
... 5 more
Caused by: java.lang.RuntimeException: Please port OS detection to your platform (openbsd/null)
at jogamp.common.os.PlatformPropsImpl.getOSTypeImpl(PlatformPropsImpl.java:523)
at jogamp.common.os.PlatformPropsImpl.<clinit>(PlatformPropsImpl.java:166)
... 22 more


Posted by Puybaret at Apr 27, 2021, 10:12:06 AM
Re: Unable to run Sweet Home 3D in OpenBSD
Did you try the second script SweetHome3D-Java3D-1_5_2?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by subgeek at Apr 27, 2021, 3:14:17 PM
Re: Unable to run Sweet Home 3D in OpenBSD
Puybaret,

Receive the same initial error. No splash screen.


$ ./SweetHome3D-Java3D-1_5_2
: not foundin/java[4]: �
: not foundin/java[4]: �
: not foundin/java[4]: �
./runtime/bin/java[4]: : not found
./runtime/bin/java[4]: H��H���52
: not found
./runtime/bin/java[4]: H��t��H�ÐU�8: not found
]�8: not foundjava[4]: H��t�H��t
./runtime/bin/java[4]: UH��8: not found
./runtime/bin/java: syntax error: `)' unexpected


Posted by subgeek at May 4, 2021, 4:23:55 PM
Re: Unable to run Sweet Home 3D in OpenBSD
Bump, and ideas?

Posted by Puybaret at May 4, 2021, 4:52:13 PM
Re: Unable to run Sweet Home 3D in OpenBSD
Sorry, I don't have any other idea.
There are so many Linux variants out there that when you add to them the potential issues coming their 3D drivers, it becomes impossible to ensure that Sweet Home 3D can work on each of them.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator