Print at Mar 24, 2019 9:54:11 PM View all posts in this thread on one page
Posted by Michely at Sep 4, 2015 8:09:19 AM
Java 8 Linkage Error when using Applet
Hi, running sw3d as an applet I have a number of plugins which work fine when using a browser with Java 7 but under Java 8 I receive the following error: AWT-EventQueue-3 java.lang.LinkageError: loader constraint violation: loader (instance of com/teks/sweethome3d/tools/ExtensionsClassLoader) previously initiated loading for a different type with name "com/eteks/sweethome3d/plugin/PluginAction". I use Eclipse for develpment, only 32bit Java versions. Any help will be greatly apprechiated.

Posted by hansmex at Sep 4, 2015 8:51:45 AM
Re: Java 8 Linkage Error when using Applet
For SH3D, Java 6 is the best version.


Posted by Puybaret at Sep 4, 2015 10:59:36 AM
Re: Java 8 Linkage Error when using Applet
Hans, Michely is talking about the applet version where you don't force the user to use a particular version of Java, and anyway, there must be very few users who still use Java 5/6 plug-in.
Michely, I haven't tried plug-ins with the applet version for a long time. I'll try on my side, but if it's a big security issue, don't hope too much from me, because I don't intend to invest a lot of time on the applet version since plug-ins are not supported in Chrome and Windows 10 Edge browsers. Under which system did you try?
Emmanuel Puybaret, Sweet Home 3D developer

Posted by Michely at Sep 5, 2015 4:59:09 AM
Re: Java 8 Linkage Error when using Applet
Hi, I had been using Chrome V42/Firefox both on Windows 7 pro systems. One had Java 7 - which worked great, and the other newer system has Java 8 which doesn't. I tried a couple other computers XP and Win 7 with the same results. Java 8 does give the linkage error whereas Java 7 works. If there is a solution please let me know. Thank you very much.