|
Sweet Home 3D Forum » List all forums » » Forum: 3D problems » » » Thread: home 3D view not working when executing the JAR file |
|
| Print at Dec 18, 2025, 2:18:10 AM | View all posts in this thread on one page |
| Posted by Dennisek at Oct 28, 2022, 8:11:59 PM |
|
home 3D view not working when executing the JAR file Hello guys, I just recently discovered Sweet Home 3D. The program seems to be working fine when I execute the file SweetHome3D (Linux) but when I execute the JAR file then the home 3D view (the down right screen) is not working. Since I want to create plugins I am interested in being able to have a functioning JAR version of Sweet Home 3D. When I execute the JAR file I get the following messages on the command line: Caught AppContextInfo(Bug 1004) InaccessibleObjectException: Unable to make public static sun.awt.AppContext sun.awt.AppContext.getAppContext() accessible: module java.desktop does not "exports sun.awt" to unnamed module @5eb5c224 on thread J3D-Renderer-1 [0]: java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) [1]: java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) [2]: java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:200) [3]: java.base/java.lang.reflect.Method.setAccessible(Method.java:194) [4]: com.jogamp.nativewindow.awt.AppContextInfo$1$1.run(AppContextInfo.java:40) [5]: com.jogamp.common.util.UnsafeUtil.doWithoutIllegalAccessLogger(UnsafeUtil.java:219) [6]: com.jogamp.nativewindow.awt.AppContextInfo$1.run(AppContextInfo.java:34) [7]: java.base/java.security.AccessController.doPrivileged(AccessController.java:318) [8]: com.jogamp.nativewindow.awt.AppContextInfo.<clinit>(AppContextInfo.java:31) [9]: com.jogamp.nativewindow.awt.JAWTWindow.<init>(JAWTWindow.java:128) [10]: jogamp.nativewindow.jawt.x11.X11JAWTWindow.<init>(X11JAWTWindow.java:60) [11]: java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.javI hope these informations are helpful for solving my problem. Best regards, Dennis |
| Posted by Puybaret at Oct 29, 2022, 12:00:31 AM |
|
Re: home 3D view not working when executing the JAR file You may have tried with a recent version of Java. Try an older version <= 15. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by Dennisek at Nov 1, 2022, 9:31:13 AM |
|
Re: home 3D view not working when executing the JAR file Thank you very much! Yes, with Java version 8 it's working! :) |
|
|
Current timezone is GMT Dec 18, 2025, 2:18:10 AM |