Unable to run Sweet Home 3D in OpenBSD

This topic has been viewed 6781 times and has 6 replies
Thread status: Active
Questions about Sweet Home 3D installation [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
subgeek
Posts: 6
Joined: Sat Apr 24, 2021 4:30 pm
Country: America

Unable to run Sweet Home 3D in OpenBSD

Post by subgeek »

All,

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

Code: Select all

$ ./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

Code: Select all

$ 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.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Unable to run Sweet Home 3D in OpenBSD

Post by Puybaret »

Why not trying the “official” version available at SourceForge?
Emmanuel Puybaret, Sweet Home 3D creator
subgeek
Posts: 6
Joined: Sat Apr 24, 2021 4:30 pm
Country: America

Re: Unable to run Sweet Home 3D in OpenBSD

Post by subgeek »

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.

Code: Select all

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
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Unable to run Sweet Home 3D in OpenBSD

Post by Puybaret »

Did you try the second script SweetHome3D-Java3D-1_5_2?
Emmanuel Puybaret, Sweet Home 3D creator
subgeek
Posts: 6
Joined: Sat Apr 24, 2021 4:30 pm
Country: America

Re: Unable to run Sweet Home 3D in OpenBSD

Post by subgeek »

Puybaret,

Receive the same initial error. No splash screen.

Code: Select all

$ ./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
subgeek
Posts: 6
Joined: Sat Apr 24, 2021 4:30 pm
Country: America

Re: Unable to run Sweet Home 3D in OpenBSD

Post by subgeek »

Bump, and ideas?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Unable to run Sweet Home 3D in OpenBSD

Post by Puybaret »

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
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest