Print at Dec 21, 2025, 11:37:28 AM

Posted by mpeterma at Sep 26, 2012, 9:29:12 PM
Re: Running Sweet Home 3D on FreeBSD
Hi Emmanuel, thanks for you reply. Yes, it's all about the FreeBSD Java 3D DLL (.so). With you idea of letting SweetHome3DBootstrap.java decide on operation system name (and architecture) the problem likely could be solved.

At the moment I am still waiting for feedback for my port from the FreeBSD developers community. I did hard-code the path to libj3dcore-ogl.so in my patch, only deciding between 32 and 64 bit but assuming the user has the respective OpenJDK 6 installed:

/usr/local/openjdk6/jre/lib/amd64/libj3dcore-ogl.so
or
/usr/local/openjdk6/jre/lib/i386/libj3dcore-ogl.so

I likely should try to find a more generic way to determine the jre lib directory. Do you know a way to do this from Java?

Regarding your question on Java 3D 1.6 - I asked the maintainer of this package for his plans. I guess he could create a version for 1.6 too - should not be a big issue.

Kind regards,
Matthias