Java 8 Linkage Error when using Applet

This topic has been viewed 16344 times and has 3 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
Michely
Posts: 5
Joined: Wed Oct 30, 2013 4:35 pm

Java 8 Linkage Error when using Applet

Post by Michely »

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.
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: Java 8 Linkage Error when using Applet

Post by hansmex »

For SH3D, Java 6 is the best version.

H
Hans

new website - under constuction
hansdirkse.info
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Java 8 Linkage Error when using Applet

Post by Puybaret »

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 creator
Michely
Posts: 5
Joined: Wed Oct 30, 2013 4:35 pm

Re: Java 8 Linkage Error when using Applet

Post by Michely »

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

Who is online

Users browsing this forum: No registered users and 1 guest