Java compliance level

This topic has been viewed 9246 times and has 1 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
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Java compliance level

Post by Daniels118 »

This question is mainly directed to Puybaret.

The Plug-in developer's guide states:
If you want your plug-in to be able to run with Sweet Home 3D installers available on this web site, take care to keep it compliant with Java 5
I think this requirement was valid for a very old release, since the latest installer comes with Java 11, however I could be missing something not so obvious.

So, the question is:
which Java compliance level could we safely use for new plugins?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Java compliance level

Post by Puybaret »

Current installers are bundled (or runs) with the following Java versions:
- Windows 32 bit and Linux versions run with Oracle Java 8u202
- Windows 64 bit version runs with OpenJDK 11
- macOS 10.4 Intel version runs with Apple Java 5
- macOS 10.5 to 10.8 Intel version runs with Apple Java 6
- other macOS Intel versions run with Oracle Java 8u202 or OpenJDK 15
- macOS ARM version runs with OpenJDK 15
and Java Web Start users are probably almost all using Java 8.

Nowadays, there are probably almost no macOS 10.4 users and very few macOS 10.5 to 10.8 users.
So I guess you could require Java 8 if needed (i.e. [font=courier new]javaMinimumVersion=1.8[/font]).
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 0 guests