Print at Dec 16, 2025, 10:08:09 AM View all posts in this thread on one page
Posted by SporSeba97 at Dec 29, 2018, 3:21:42 PM
Problem with OpenGL
Hello everyone,

after some time I have installed Sweet Home 3D again.
Now I get when I start the program the error that I need to update the driver of the graficcard.
My problem is now, that I have updated the driver and I get the error also.

This is my system:
Windows 10 Education 64-bit
CPU: Intel i7-4790K
RAM: 16GB
GPU: Nvidia GTX-970 Driver Verison: 417.35
JRE and JDK Version: 1.8.0_191

I have also tryed older versions of Sweet Home 3D, there I got the same error.
Moreover I have tryed the executable jar version. If I run this from the commandline I get the following error:
javax.media.j3d.IllegalRenderingStateException: Java 3D ERROR : OpenGL 1.2 or better is required (GL_VERSION=1.1) at javax.media.j3d.JoglPipeline.setupCanvasProperties(JoglPipeline.java:8090) at javax.media.j3d.JoglPipeline.createNewContext(JoglPipeline.java:6439) at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:4612) at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2386) at javax.media.j3d.Renderer.doWork(Renderer.java:881) at javax.media.j3d.J3dThread.run(J3dThread.java:271) Error in Java 3D : 3 Renderer: Error creating Canvas3D graphics context


I have also reinstalled java (jre and jdk), the driver of the graficcard and all nvidia software, which I have found on my system. I don't know which more software I need to reinstall.

I have no problems with minecraft which is also running with java and OpenGL.

Does anyone have an idea, who I can fix the probleme without an windows reinstallation?

Posted by Puybaret at Jan 8, 2019, 3:00:46 PM
Re: Problem with OpenGL
Did you try both 32 bit and 64 bit versions, selecting either Architecture options in the installation folder screen of Sweet Home 3D installer?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by pfranzini at Jan 20, 2019, 10:24:18 AM
Re: Problem with OpenGL
I have the same problem too

This is my system:
Windows 10 Home 64-bit
CPU: Intel i7-6700K
RAM: 32GB
GPU: Nvidia GeForce 1080 Driver Version: 417.17
JRE and JDK Version:
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)

try with 32/64 bit:
in task manager Java Platform SE Binary appears and disappears in a moment
tryed the executable jar version:
the same problem as SporSeba97
Java 3D ERROR : OpenGL 1.2 or better is required (GL_VERSION=1.1)
some idea?

Posted by pfranzini at Jan 26, 2019, 1:42:34 PM
smile   Re: Problem with OpenGL
Update:
with this CMD line work!
C:\Program Files (x86)\Java\jre1.8.0_201\bin\java "-client" "-d32" "-Dj3d.rend=d3d" "-Dcom.eteks.sweethome3d.j3d.version=1.5.2" -jar C:\Temp\SweetHome3D-6.1.jar"


Posted by pfranzini at Jan 25, 2021, 11:42:02 AM
Re: Problem with OpenGL
UPDATE 2021.01:
J'ai créé le fichier SweetHome3D.l4j.ini
comme décrit ici : http://www.sweethome3d.com/fr/faq.jsp#errorIn3DRenderingSystem
et l'a ensuite copié dans:
C:\Program Files (x86)\Sweet Home 3D

en :
C:\Program Files (x86)\Sweet Home 3D\
J'ai renommé le répertoire jre8 de SH3D en _jre8
J'ai créé un nouveau répertoire jre8

J'ai copié les répertoires bin et lib du répertoire
C:\Program Files (x86)\Java\jre1.8.0_271

dans
C:\Program Files (x86)\Sweet Home 3D\jre8

fonctionne maintenant